Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove naked_functions feature usage for x86 (#722) #1182

Merged
merged 8 commits into from
Oct 18, 2024
Prev Previous commit
Next Next commit
Disable a test on Windows that doesn't work on 0.37.
sunfishcode committed Oct 18, 2024
commit 9d1a1d3b53c61e88044dde377ad70160fb37e72b
7 changes: 5 additions & 2 deletions tests/backends.rs
Original file line number Diff line number Diff line change
@@ -60,12 +60,15 @@ fn test_backends() {
);
}

#[cfg(windows)]
let libc_dep = "windows-sys";
#[cfg(any(unix, target_os = "wasi"))]
let libc_dep = "libc";

// Test the use-libc crate, which enables the "use-libc" cargo feature.
//
// Disable this test on Windows on the 0.37 branch, because it ends up
// depending on multiple versions of windows-sys and cargo-tree prints
// different output.
#[cfg(not(windows))]
assert!(
has_dependency("test-crates/use-libc", &[], &[], &["RUSTFLAGS"], libc_dep),
"use-libc doesn't depend on {}",