973a285371
Note: I found a bug in c-stack-cdecl which codes not permit such native functions to be used as values. I added an xfail-test (c-stack-as-value) documenting it.
10 lines
126 B
Rust
10 lines
126 B
Rust
// xfail-test
|
|
|
|
native "c-stack-cdecl" mod rustrt {
|
|
fn unsupervise();
|
|
}
|
|
|
|
fn main() {
|
|
let _foo = rustrt::unsupervise;
|
|
}
|