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 8ab9fd8 commit 7cddec8Copy full SHA for 7cddec8
src/probestack.rs
@@ -49,6 +49,9 @@
49
// We only define stack probing for these architectures today.
50
#![cfg(any(target_arch = "x86_64", target_arch = "x86"))]
51
52
+// We need to add .att_syntax for bootstraping the new global_asm!
53
+#![allow(unknown_lints, bad_asm_style)]
54
+
55
extern "C" {
56
pub fn __rust_probestack();
57
}
@@ -63,6 +66,7 @@ macro_rules! define_rust_probestack {
63
66
($body: expr) => {
64
67
concat!(
65
68
"
69
+ .att_syntax
70
.pushsection .text.__rust_probestack
71
.globl __rust_probestack
72
.type __rust_probestack, @function
0 commit comments