Skip to content

Commit

Permalink
Allow our use of cfg(TODO).
Browse files Browse the repository at this point in the history
Rust got much fussier about these in 1.80. See https://blog.rust-lang.org/2024/05/06/check-cfg.html.
  • Loading branch information
jonathanpallant committed Sep 26, 2024
1 parent 94cd84b commit c08b732
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nrf52-code/usb-lib-solutions/get-descriptor-config/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("cargo::rustc-check-cfg=cfg(TODO)");
}
3 changes: 3 additions & 0 deletions nrf52-code/usb-lib-solutions/get-device/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("cargo::rustc-check-cfg=cfg(TODO)");
}
3 changes: 3 additions & 0 deletions nrf52-code/usb-lib-solutions/set-config/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("cargo::rustc-check-cfg=cfg(TODO)");
}
3 changes: 3 additions & 0 deletions nrf52-code/usb-lib/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("cargo::rustc-check-cfg=cfg(TODO)");
}

0 comments on commit c08b732

Please sign in to comment.