Skip to content

Commit

Permalink
fix: change build.rs again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sycrosity committed Apr 26, 2024
1 parent 686f5a0 commit 8028a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::error::Error;

fn main() -> Result<(), Box<dyn Error>> {

// Only re-run the build script when build.rs is changed - aka never
println!("cargo:rerun-if-changed=build.rs");

Expand All @@ -10,7 +11,7 @@ fn main() -> Result<(), Box<dyn Error>> {
#[cfg(feature = "net")]
println!("cargo:rustc-link-arg=-Trom_functions.x");

dotenv::dotenv()?;
dotenv::dotenv().ok();

println!("cargo::rustc-env=SSID={}", std::env::var("SSID")?);
println!("cargo::rustc-env=PASSWORD={}", std::env::var("PASSWORD")?);
Expand Down

0 comments on commit 8028a49

Please sign in to comment.