mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 12:20:56 +00:00

* Use cargo-batch * Run CI on mac runner * Rely on MSRV and nightly jobs to lint * Build docs separately * Don't copy examples - fix builds on stable * Run everything by default, set CI env var in ci command * Run batched commands with RUSTC_BOOTSTRAP enabled * Force cargo-batch to correctly ignore unstable option * Test with nightly * Use a persistent target folder, remove cache * Don't delete the lp examples * Restore target dir * Build with stable again * Fix rebase fail * Remove handling tests * Remove redundant code * Restore repeated test run option * Add simpler cargo check * Introduce check-packages * Remove stabilized -Zdoctest-xcompile * Clean up commented code * Remove more stuff * Fix uart_uhci test * No badger for us
25 lines
473 B
TOML
25 lines
473 B
TOML
[target.'cfg(target_arch = "riscv32")']
|
|
runner = "espflash flash --monitor"
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlinkall.x",
|
|
"-C", "force-frame-pointers",
|
|
]
|
|
|
|
[target.'cfg(target_arch = "xtensa")']
|
|
runner = "espflash flash --monitor"
|
|
rustflags = [
|
|
# GNU LD
|
|
"-C", "link-arg=-Wl,-Tlinkall.x",
|
|
"-C", "link-arg=-nostartfiles",
|
|
|
|
# LLD
|
|
# "-C", "link-arg=-Tlinkall.x",
|
|
# "-C", "linker=rust-lld",
|
|
]
|
|
|
|
[env]
|
|
ESP_LOG = "info"
|
|
|
|
[unstable]
|
|
build-std = ["core", "alloc"]
|