Skip to content

Commit

Permalink
remove rustc-cfg=getrandom_backend=wasm_js from top level build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavemarshall committed Feb 22, 2025
1 parent 2fb1c95 commit c5d3eea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ fn main() -> Result<()> {
println!("cargo:rustc-env=GIT_HASH={}", git_hash);
}

// Add this line to force WebAssembly to use the correct random backend
println!("cargo:rustc-cfg=getrandom_backend=\"wasm_js\"");

Ok(())
}

0 comments on commit c5d3eea

Please sign in to comment.