Add windows-targets crate to std's sysroot

This commit is contained in:
Chris Denton 2024-08-09 01:32:13 +00:00
parent c7b0d4e81f
commit acb024110f
No known key found for this signature in database
GPG key ID: 713472F2F45627DE
9 changed files with 26 additions and 7 deletions

View file

@ -35,7 +35,6 @@ fn main() -> Result<(), Box<dyn Error>> {
let mut f = std::fs::File::options().append(true).open("windows_sys.rs")?;
f.write_all(ARM32_SHIM.as_bytes())?;
writeln!(&mut f, "// ignore-tidy-filelength")?;
writeln!(&mut f, "use super::windows_targets;")?;
Ok(())
}

View file

@ -36,6 +36,7 @@ use crate::walk::{filter_dirs, walk};
// Paths that may contain platform-specific code.
const EXCEPTION_PATHS: &[&str] = &[
"library/windows_targets",
"library/panic_abort",
"library/panic_unwind",
"library/unwind",