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 dd1419a commit 1bd9a13Copy full SHA for 1bd9a13
example/mini_core_hello_world.rs
@@ -292,7 +292,7 @@ fn main() {
292
#[cfg(not(any(jit, windows)))]
293
test_tls();
294
295
- #[cfg(all(not(jit), target_os = "linux"))]
+ #[cfg(all(not(jit), target_arch = "x86_64", target_os = "linux"))]
296
unsafe {
297
global_asm_test();
298
}
@@ -303,12 +303,12 @@ fn main() {
303
assert_eq!(*REF1, *REF2);
304
305
306
-#[cfg(all(not(jit), target_os = "linux"))]
+#[cfg(all(not(jit), target_arch = "x86_64", target_os = "linux"))]
307
extern "C" {
308
fn global_asm_test();
309
310
311
312
global_asm! {
313
"
314
.global global_asm_test
0 commit comments