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

* WIP * WIP(1) * done * changelog entry * swint example needs to lose some weight + fix psram * get twai and touch examples back, lcd example to qa, less embassy * more moving * move changelog entry * address reviews upd: revert "is_not_release" check * rebase + a bit more changes remove useless feature * address review remove inappropriate doctest tutorial * get all sleep examples back and to qa-test fmt * get rid of some redundant printlns in doctests * etm timer upd * make printlns great again * writeln! -> println! * clear "timer with interrupts" doctest
10 lines
297 B
Rust
10 lines
297 B
Rust
fn main() {
|
|
// Allow building QA tests 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");
|
|
}
|
|
}
|