Adds tooling/econ-sim — a standalone Rust binary for the Phase 2 economics simulation: Layer 1 (Leontief production, #806): - Deterministic per-run PRNG seeding of corp×site productivity (D-176) - Fixed-coefficient production chains; scarcity cascades downstream (D-178) - Per-capita population demand for finals and services - Gate-energy demand reduction for fusion_fuel at connected nodes (D-186) - Price adjustment via local tâtonnement Layer 2 (spatial price equilibrium, #807): - Damped tâtonnement trade flows along gate links (α=0.03, β=0.4, D-178) - 8% transport cost per hop damps long-distance arbitrage - Flows computed from pre-step snapshot; applied atomically - --stability-check implements D-179 Tests 1 and 2: · Test 1: cold-start convergence ±5% at tick 100 → PASS (max 1.05%) · Test 2: long-run stability ±2% over ticks 900–999 → PASS (max 0.00%) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
1.3 KiB
Plaintext
26 lines
1.3 KiB
Plaintext
cargo:rerun-if-changed=build.rs
|
|
cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_FREEBSD_VERSION
|
|
cargo:rustc-cfg=freebsd12
|
|
cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_MUSL_V1_2_3
|
|
cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64
|
|
cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_GNU_FILE_OFFSET_BITS
|
|
cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_GNU_TIME_BITS
|
|
cargo:rustc-check-cfg=cfg(emscripten_old_stat_abi)
|
|
cargo:rustc-check-cfg=cfg(espidf_time32)
|
|
cargo:rustc-check-cfg=cfg(freebsd10)
|
|
cargo:rustc-check-cfg=cfg(freebsd11)
|
|
cargo:rustc-check-cfg=cfg(freebsd12)
|
|
cargo:rustc-check-cfg=cfg(freebsd13)
|
|
cargo:rustc-check-cfg=cfg(freebsd14)
|
|
cargo:rustc-check-cfg=cfg(freebsd15)
|
|
cargo:rustc-check-cfg=cfg(gnu_file_offset_bits64)
|
|
cargo:rustc-check-cfg=cfg(gnu_time_bits64)
|
|
cargo:rustc-check-cfg=cfg(libc_deny_warnings)
|
|
cargo:rustc-check-cfg=cfg(linux_time_bits64)
|
|
cargo:rustc-check-cfg=cfg(musl_v1_2_3)
|
|
cargo:rustc-check-cfg=cfg(musl32_time64)
|
|
cargo:rustc-check-cfg=cfg(vxworks_lt_25_09)
|
|
cargo:rustc-check-cfg=cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt"))
|
|
cargo:rustc-check-cfg=cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))
|
|
cargo:rustc-check-cfg=cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))
|