diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-30 17:27:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 17:27:59 +0200 |
| commit | 1a64f2c461602c5c544d4af8d90f89cef9da44c4 (patch) | |
| tree | bdf536a46b0649fe694998022a5420dd37be3c24 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | |
| parent | 230215f89063b74d1f388ce157fab80bcad2675f (diff) | |
| parent | 07c7e5ffb3c096f80ffede421fb20089fbe7fe3f (diff) | |
| download | rust-1a64f2c461602c5c544d4af8d90f89cef9da44c4.tar.gz rust-1a64f2c461602c5c544d4af8d90f89cef9da44c4.zip | |
Rollup merge of #140203 - Wyliodrin:error_for_no_mangle_weak_language_items, r=bjorn3
Issue an error when using `no_mangle` on language items This pull requests adds the code to issue an error or a warning when using `no_mangle` on language items. This should detail why the `undefined symbol` error is issued for the code described in #139923. The pull request adds two ui tests, one testing the error and the other one the warning. I would love some feedback here, as I am not sure that the error and warning are issues using the right API.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
