|
@@ -56,7 +56,7 @@ extern "C" {
|
|
|
// emitted for the function.
|
|
|
//
|
|
|
// This is the ELF version.
|
|
|
-#[cfg(not(target_vendor = "apple"))]
|
|
|
+#[cfg(not(any(target_vendor = "apple", target_os = "uefi")))]
|
|
|
macro_rules! define_rust_probestack {
|
|
|
($body: expr) => {
|
|
|
concat!(
|
|
@@ -76,7 +76,7 @@ macro_rules! define_rust_probestack {
|
|
|
}
|
|
|
|
|
|
// Same as above, but for Mach-O.
|
|
|
-#[cfg(target_vendor = "apple")]
|
|
|
+#[cfg(any(target_vendor = "apple", target_os = "uefi"))]
|
|
|
macro_rules! define_rust_probestack {
|
|
|
($body: expr) => {
|
|
|
concat!(
|