aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc-test/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc-test/src/lib.rs')
-rw-r--r--gcc/gcc-test/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/gcc-test/src/lib.rs b/gcc/gcc-test/src/lib.rs
new file mode 100644
index 0000000..b42ebf7
--- /dev/null
+++ b/gcc/gcc-test/src/lib.rs
@@ -0,0 +1,16 @@
+extern "C" {
+ pub fn foo() -> i32;
+
+ pub fn bar1() -> i32;
+ pub fn bar2() -> i32;
+
+ pub fn asm() -> i32;
+
+ pub fn baz() -> i32;
+
+ #[cfg(windows)]
+ pub fn windows();
+
+ #[cfg(target_env = "msvc")]
+ pub fn msvc();
+}