mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-02 13:25:56 +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")
|
.arg("--all-features")
|
||||||
.args(["--target", target.triple])
|
.args(["--target", target.triple])
|
||||||
.args(["-p", crate_])
|
.args(["-p", crate_])
|
||||||
// Wee need to recreate that `web_sys` cfg here. It's already
|
.env("RUSTFLAGS", "-D warnings");
|
||||||
// specified in `.cargo/config`, but the use of `RUSTFLAGS` here
|
|
||||||
// overwrites that.
|
|
||||||
.env("RUSTFLAGS", "-D warnings --cfg=web_sys_unstable_apis");
|
|
||||||
|
|
||||||
println!("Running {command:?}");
|
println!("Running {command:?}");
|
||||||
let status = command.status()?;
|
let status = command.status()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user