diff options
Diffstat (limited to 'src/test/run-make-fulldeps/c-link-to-rust-dylib/foo.rs')
-rw-r--r-- | src/test/run-make-fulldeps/c-link-to-rust-dylib/foo.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/c-link-to-rust-dylib/foo.rs b/src/test/run-make-fulldeps/c-link-to-rust-dylib/foo.rs new file mode 100644 index 000000000..f197fa513 --- /dev/null +++ b/src/test/run-make-fulldeps/c-link-to-rust-dylib/foo.rs @@ -0,0 +1,4 @@ +#![crate_type = "dylib"] + +#[no_mangle] +pub extern "C" fn foo() {} |