mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-02 05:15:54 +00:00
Remove flag that is no longer needed
As of wgpu 0.19.3, this is no longer required.
This commit is contained in:
parent
9deb38bbf8
commit
9a30fd8529
@ -1,4 +0,0 @@
|
||||
[build]
|
||||
# As of wgpu 0.19.1, these are necessary to build for WebGPU.
|
||||
rustflags = ["--cfg=web_sys_unstable_apis"]
|
||||
rustdocflags = ["--cfg=web_sys_unstable_apis"]
|
@ -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()?;
|
||||
|
Loading…
Reference in New Issue
Block a user