Skip to content

Commit 90126c7

Browse files
Expand alternatives to include a crate-level annotation.
1 parent 9e1d8d2 commit 90126c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/0000-export-executable-symbols.md

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ This is *very* simple to implement, leverages existing code to enable it to do e
7878
Alternatives:
7979

8080
- Unconditionally export symbols from executables instead of introducing a new compiler flag.
81+
- Introduce a crate-level attribute instead of a compiler flag (`#![export_all_symbols]`? `#![export_symbols]`?)
8182
- Write *yet another* cargo subcommand to install/remember for interop testing instead of using cargo test.
8283
- Write interop tests exclusively as integration tests, in an entirely separate crate, that can load the testee as a dylib.
8384
- Continue abusing LINK, writing a tool to auto-generate .defs via build scripts - possibly by reading metadata from other tools.

0 commit comments

Comments
 (0)