about summary refs log tree commit diff
path: root/src/tools/miri/tests/native-lib/native-lib.map
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-31 20:59:27 +0000
committerbors <bors@rust-lang.org>2024-08-31 20:59:27 +0000
commita7399ba69d37b019677a9c47fe89ceb8dd82db2d (patch)
tree70cd4cf67b0b0ed7570e293f29e1992dfd7e861c /src/tools/miri/tests/native-lib/native-lib.map
parentd571ae851d93541bef826c3c48c1e9ad99da77d6 (diff)
parent4151fd407e41bfdcd166ebe07ed06d8303921c6c (diff)
Auto merge of #129831 - matthiaskrgr:rollup-befq6zx, r=matthiaskrgr
Rollup of 11 pull requests

Successful merges:

 - #128523 (Add release notes for 1.81.0)
 - #129605 (Add missing `needs-llvm-components` directives for run-make tests that need target-specific codegen)
 - #129650 (Clean up `library/profiler_builtins/build.rs`)
 - #129651 (skip stage 0 target check if `BOOTSTRAP_SKIP_TARGET_SANITY` is set)
 - #129684 (Enable Miri to pass pointers through FFI)
 - #129762 (Update the `wasm-component-ld` binary dependency)
 - #129782 (couple more crash tests)
 - #129816 (tidy: say which feature gate has a stability issue mismatch)
 - #129818 (make the const-unstable-in-stable error more clear)
 - #129824 (Fix code examples buttons not appearing on click on mobile)
 - #129826 (library: Fix typo in `core::mem`)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'src/tools/miri/tests/native-lib/native-lib.map')
-rw-r--r--src/tools/miri/tests/native-lib/native-lib.map20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/tools/miri/tests/native-lib/native-lib.map b/src/tools/miri/tests/native-lib/native-lib.map
new file mode 100644
index 00000000000..7e3bd19622a
--- /dev/null
+++ b/src/tools/miri/tests/native-lib/native-lib.map
@@ -0,0 +1,20 @@
+CODEABI_1.0 {
+    # Define which symbols to export.
+    global:
+        # scalar_arguments.c
+        add_one_int;
+        printer;
+        test_stack_spill;
+        get_unsigned_int;
+        add_int16;
+        add_short_to_long;
+
+        # ptr_read_access.c
+        print_pointer;
+        access_simple;
+        access_nested;
+        access_static;
+
+    # The rest remains private.
+    local: *;
+};