Skip to content

Commit 51a46c9

Browse files
committed
introduce X86_FEATURES constant for linux.
1 parent 88b2ed2 commit 51a46c9

File tree

2 files changed

+363
-0
lines changed

2 files changed

+363
-0
lines changed

libc-test/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,6 +3121,10 @@ fn test_linux(target: &str) {
31213121
return true;
31223122
}
31233123
}
3124+
if name.starts_with("X86_FEATURE_")
3125+
{
3126+
return true
3127+
}
31243128
match name {
31253129
// These constants are not available if gnu headers have been included
31263130
// and can therefore not be tested here

0 commit comments

Comments
 (0)