Skip to content

Commit

Permalink
Remove flag that is no longer needed
Browse files Browse the repository at this point in the history
As of wgpu 0.19.3, this is no longer required.
  • Loading branch information
hannobraun committed Mar 4, 2024
1 parent 9deb38b commit 9a30fd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions .cargo/config.toml

This file was deleted.

5 changes: 1 addition & 4 deletions tools/cross-compiler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ fn main() -> anyhow::Result<()> {
.arg("--all-features")
.args(["--target", target.triple])
.args(["-p", crate_])
// Wee need to recreate that `web_sys` cfg here. It's already
// specified in `.cargo/config`, but the use of `RUSTFLAGS` here
// overwrites that.
.env("RUSTFLAGS", "-D warnings --cfg=web_sys_unstable_apis");
.env("RUSTFLAGS", "-D warnings");

println!("Running {command:?}");
let status = command.status()?;
Expand Down

0 comments on commit 9a30fd8

Please sign in to comment.