mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

generate elf symbol version in raw-dylib For link names like `aaa@bbb`, it generates a symbol named `aaa` and a version named `bbb`. For link names like `aaa\0bbb`, `aaa@`@bbb`` or `aa@bb@cc`, it emits errors. It adds a test that the executable is linked with glibc using raw-dylib. cc rust-lang/rust#135694
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.