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 5b11dfa commit 1542660Copy full SHA for 1542660
tests/assembly-llvm/regparm-module-flag.rs
@@ -1,10 +1,14 @@
1
+//@ add-core-stubs
2
//@ assembly-output: emit-asm
-//@ compile-flags: -O -Zregparm=3 -Cunsafe-allow-abi-mismatch=regparm
3
+//@ compile-flags: -O -Zregparm=3
4
//@ only-x86
5
6
+#![feature(no_core)]
7
+#![no_std]
8
+#![no_core]
9
#![crate_type = "lib"]
10
-use std::ffi::c_void;
11
+use minicore::*;
12
13
unsafe extern "C" {
14
fn memset(p: *mut c_void, val: i32, len: usize) -> *mut c_void;
0 commit comments