Skip to content

Commit

Permalink
rm check from build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Feb 14, 2024
1 parent 68de292 commit 4de332c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sfy-buoy/sfy-artemis/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ use std::io::Write;
use std::path::PathBuf;

fn main() {
println!("cargo:rerun-if-env-changed=BUOYSN");
if env::var_os("BUOYSN").is_none() {
println!("cargo:warning=Buoy serial id not specified (env BUOYSN), will use default.");
// panic!("No serial id specified.");
} else {
// println!("cargo:warning=Serial no: {:?}", env::var_os("BUOYSN").unwrap());
}

// Put `memory.x` in our output directory and ensure it's
// on the linker search path.
let out = &PathBuf::from(env::var_os("OUT_DIR").unwrap());
Expand Down

0 comments on commit 4de332c

Please sign in to comment.