diff options
| author | Mads Marquart <mads@marquart.dk> | 2025-03-26 15:23:47 +0100 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-03-26 16:25:05 +0100 |
| commit | a7bafc0afc3dba988a7bf85198c493b20523eaa0 (patch) | |
| tree | 2a9a10286c82bd6a31ef625602c960e2b6f5f42e /compiler/rustc_llvm/llvm-wrapper | |
| parent | 65899c06f117ddac9c8399479ddcdc122c92fddf (diff) | |
| download | rust-a7bafc0afc3dba988a7bf85198c493b20523eaa0.tar.gz rust-a7bafc0afc3dba988a7bf85198c493b20523eaa0.zip | |
Change the syntax of the internal `weak!` macro
Change the syntax to include parameter names and a trailing semicolon. Motivation: - Mirror the `syscall!` macro. - Allow rustfmt to format it (when wrapped in parentheses). - For better documentation (having the parameter names available in the source code is a bit nicer). - Allow future improvements to this macro where we can sometimes use the symbol directly when it's statically known to be available.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
