Merge pull request #20642 from ChayimFriedman2/wasm-safe
Some checks failed
metrics / build_metrics (push) Has been cancelled
rustdoc / rustdoc (push) Has been cancelled
metrics / other_metrics (diesel-1.4.8) (push) Has been cancelled
metrics / other_metrics (hyper-0.14.18) (push) Has been cancelled
metrics / other_metrics (ripgrep-13.0.0) (push) Has been cancelled
metrics / other_metrics (self) (push) Has been cancelled
metrics / other_metrics (webrender-2022) (push) Has been cancelled
metrics / generate_final_metrics (push) Has been cancelled

fix: Make `#[target_feature]` always safe on WASM
This commit is contained in:
Shoyu Vanilla (Flint) 2025-09-11 05:09:26 +00:00 committed by GitHub
commit db0420c278
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 257 additions and 89 deletions

View file

@ -84,7 +84,7 @@ pub const BAZ: u32 = 0;
)
.unwrap(),
),
Arc::new(CrateWorkspaceData { data_layout: Err("".into()), toolchain: None }),
Arc::new(CrateWorkspaceData { target: Err("".into()), toolchain: None }),
)
};
let a = add_crate("a", 0);