summaryrefslogtreecommitdiff
path: root/cc/cc-test/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cc/cc-test/src/lib.rs')
-rw-r--r--cc/cc-test/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/cc/cc-test/src/lib.rs b/cc/cc-test/src/lib.rs
new file mode 100644
index 0000000..b42ebf7
--- /dev/null
+++ b/cc/cc-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();
+}