mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 21:00:59 +00:00

* Include ROM API symbols * Fixes and CHANGELOG.md * Fix * Move migration steps to the right crate's migration guide * Remove `-Trom_functions.x` where necessary
10 lines
297 B
Rust
10 lines
297 B
Rust
fn main() {
|
|
// Allow building examples in CI in debug mode
|
|
println!("cargo:rustc-check-cfg=cfg(is_not_release)");
|
|
println!("cargo:rerun-if-env-changed=CI");
|
|
#[cfg(debug_assertions)]
|
|
if std::env::var("CI").is_err() {
|
|
println!("cargo::rustc-cfg=is_not_release");
|
|
}
|
|
}
|