File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ extern "C" {
56
56
// emitted for the function.
57
57
//
58
58
// This is the ELF version.
59
- #[ cfg( not( target_vendor = "apple" ) ) ]
59
+ #[ cfg( not( any ( target_vendor = "apple" , target_os = "uefi" ) ) ) ]
60
60
macro_rules! define_rust_probestack {
61
61
( $body: expr) => {
62
62
concat!(
@@ -76,7 +76,7 @@ macro_rules! define_rust_probestack {
76
76
}
77
77
78
78
// Same as above, but for Mach-O.
79
- #[ cfg( target_vendor = "apple" ) ]
79
+ #[ cfg( any ( target_vendor = "apple" , target_os = "uefi" ) ) ]
80
80
macro_rules! define_rust_probestack {
81
81
( $body: expr) => {
82
82
concat!(
Original file line number Diff line number Diff line change 1
- #![ feature( compiler_builtins_lib) ]
2
-
3
1
extern crate compiler_builtins;
4
2
5
3
use compiler_builtins:: int:: __clzsi2;
Original file line number Diff line number Diff line change 1
- #![ feature( compiler_builtins_lib) ]
2
1
#![ feature( lang_items) ]
3
2
#![ allow( bad_style) ]
4
3
#![ allow( unused_imports) ]
You can’t perform that action at this time.
0 commit comments