summaryrefslogtreecommitdiffstats
path: root/tests/rust/export_name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/export_name.rs')
-rw-r--r--tests/rust/export_name.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rust/export_name.rs b/tests/rust/export_name.rs
new file mode 100644
index 0000000..5d17ee1
--- /dev/null
+++ b/tests/rust/export_name.rs
@@ -0,0 +1,4 @@
+#[export_name = "do_the_thing_with_export_name"]
+pub extern "C" fn do_the_thing() {
+ println!("doing the thing!");
+} \ No newline at end of file