about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-08-30 00:21:38 +0200
committerjoboet <jonasboettiger@icloud.com>2025-09-03 17:58:45 +0200
commit82f5cdf33e15bf08548ec8b9f13bb4cad8ac5ae4 (patch)
treebf8530880b733f8e053e126b27b9574ecb703b07 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentfe55364329579d361b1ab565728bc033a7dba07e (diff)
downloadrust-82f5cdf33e15bf08548ec8b9f13bb4cad8ac5ae4.tar.gz
rust-82f5cdf33e15bf08548ec8b9f13bb4cad8ac5ae4.zip
std: improve the `dlsym!` macro and add a test for it
* Ensure nul-termination of the symbol name at compile-time
* Use an acquire load instead of a relaxed load and acquire fence
* Properly use `unsafe` and add safety comments
* Add tests
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions