mirror of https://github.com/rust-lang/rust.git
Add a test that native mods don't need to declare an ABI
This commit is contained in:
parent
5665308d8c
commit
a362d85329
|
@ -0,0 +1,9 @@
|
|||
// ABI is cdecl by default
|
||||
|
||||
native mod rustrt {
|
||||
fn unsupervise();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
rustrt::unsupervise();
|
||||
}
|
Loading…
Reference in New Issue