diff options
Diffstat (limited to 'src/test/run-make-fulldeps/issue-64153/upstream.rs')
-rw-r--r-- | src/test/run-make-fulldeps/issue-64153/upstream.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/issue-64153/upstream.rs b/src/test/run-make-fulldeps/issue-64153/upstream.rs new file mode 100644 index 000000000..861a00298 --- /dev/null +++ b/src/test/run-make-fulldeps/issue-64153/upstream.rs @@ -0,0 +1,6 @@ +// Make this function extern "C", public, and no-mangle, so that it gets +// exported from the downstream staticlib. +#[no_mangle] +pub extern "C" fn issue64153_test_function(x: u32) -> u32 { + x + 1 +} |