We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de4f8f commit d7191b1Copy full SHA for d7191b1
src/probestack.rs
@@ -75,8 +75,22 @@ macro_rules! define_rust_probestack {
75
};
76
}
77
78
-// Same as above, but for Mach-O.
79
-#[cfg(any(target_vendor = "apple", target_os = "uefi"))]
+#[cfg(target_os = "uefi")]
+macro_rules! define_rust_probestack {
80
+ ($body: expr) => {
81
+ concat!(
82
+ "
83
+ .globl __rust_probestack
84
+ __rust_probestack:
85
+ ",
86
+ $body
87
+ )
88
+ };
89
+}
90
+
91
+// Same as above, but for Mach-O. Note that the triple underscore
92
+// is deliberate
93
+#[cfg(target_vendor = "apple")]
94
macro_rules! define_rust_probestack {
95
($body: expr) => {
96
concat!(
0 commit comments