| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-19 | naked_asm: emit a label starting with `func_end` | Folkert de Vries | -0/+6 | |
| The `cargo asm` tool pattern matches on such labels to figure out where functions end: normal functions generated by LLVM always do have such a label. We don't guarantee that naked functions emit such a label, but having `cargo asm` work is convenient | ||||
| 2025-08-13 | Port the `#[linkage]` attribute to the new attribute system | Sasha Pourcelot | -2/+2 | |
| 2025-07-31 | remove rustc_attr_data_structures | Jana Dönszelmann | -1/+1 | |
| 2025-07-16 | use `codegen_instance_attrs` where an instance is (easily) available | Folkert de Vries | -1/+1 | |
| 2025-07-07 | compiler: Parse `p-` specs in datalayout string, allow definition of custom ↵ | Edoardo Marangoni | -1/+1 | |
| default data address space | ||||
| 2025-06-22 | centralize `-Zmin-function-alignment` logic | Folkert de Vries | -6/+2 | |
| 2025-06-17 | apply clippy::or_fun_call | klensy | -4/+4 | |
| 2025-06-14 | Remove all support for wasm's legacy ABI | bjorn3 | -38/+7 | |
| 2025-05-18 | Remove rustc_attr_data_structures re-export from rustc_attr_parsing | mejrs | -1/+1 | |
| 2025-05-05 | Resolve instance for SymFn in global/naked asm | Michael Goulet | -1/+3 | |
| 2025-04-14 | Pass &mut self to codegen_global_asm | bjorn3 | -1/+1 | |
| 2025-04-14 | Make codegen_naked_asm public | bjorn3 | -1/+1 | |
| This allows it to be reused by codegen backends that don't use cg_ssa like cg_clif. | ||||
| 2025-04-14 | Pass MonoItemData to MonoItem::define | bjorn3 | -6/+5 | |
| 2025-04-14 | Move codegen_naked_asm call up into MonoItem::define | bjorn3 | -1/+2 | |
| 2025-04-14 | Make codegen_naked_asm retrieve the MIR Body itself | bjorn3 | -2/+3 | |
| 2025-04-14 | Only require a CodegenCx for codegen_naked_asm | bjorn3 | -8/+16 | |
| 2025-04-14 | Handle protected visibility in codegen_naked_asm | bjorn3 | -4/+7 | |
| 2025-04-14 | Use START_BLOCK in codegen_naked_asm | bjorn3 | -2/+2 | |
| 2025-03-25 | make -Zwasm-c-abi=legacy suppress the lint | Ralf Jung | -2/+2 | |
| 2025-03-13 | Auto merge of #138450 - matthiaskrgr:rollup-4im25vf, r=matthiaskrgr | bors | -9/+41 | |
| Rollup of 6 pull requests Successful merges: - #137816 (attempt to support `BinaryFormat::Xcoff` in `naked_asm!`) - #138109 (make precise capturing args in rustdoc Json typed) - #138343 (Enable `f16` tests for `powf`) - #138356 (bump libc to 0.2.171 to fix xous) - #138371 (Update compiletest's `has_asm_support` to match rustc) - #138404 (Cleanup sysroot locating a bit) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2025-03-13 | Rollup merge of #137816 - folkertdev:naked-asm-xcoff, r=Noratrieb | Matthias Krüger | -9/+41 | |
| attempt to support `BinaryFormat::Xcoff` in `naked_asm!` Fixes https://github.com/rust-lang/rust/issues/137219 So, the inline assembly support for xcoff is extremely limited. The LLVM [XCOFFAsmParser](https://github.com/llvm/llvm-project/blob/1b25c0c4da968fe78921ce77736e5baef4db75e3/llvm/lib/MC/MCParser/XCOFFAsmParser.cpp) does not support many of the attributes that LLVM itself emits, and that should exist based on [the assembler docs](https://www.ibm.com/docs/en/ssw_aix_71/assembler/assembler_pdf.pdf). It also does accept some that should not exist based on those docs. So, I've tried to do the best I can given those limitations. At least it's better than emitting the directives for elf and having that fail somewhere deep in LLVM. Given that inline assembly for this target is incomplete (under `asm_experimental_arch`), I think that's OK (and again I don't see how we can do better given the limitations in LLVM). r? ```@Noratrieb``` (given that you reviewed https://github.com/rust-lang/rust/pull/136637) It seems reasonable to ping the [`powerpc64-ibm-aix` target maintainers](https://doc.rust-lang.org/rustc/platform-support/aix.html), hopefully they have thoughts too: ```@daltenty``` ```@gilamn5tr``` | ||||
| 2025-03-11 | naked functions: on windows emit `.endef` without the symbol name | Folkert de Vries | -1/+1 | |
| also add test with `fastcall`, which on i686 uses a different mangling scheme | ||||
| 2025-03-08 | support XCOFF in `naked_asm!` | Folkert de Vries | -9/+41 | |
| 2025-02-28 | rename BackendRepr::Vector → SimdVector | Ralf Jung | -1/+1 | |
| 2025-02-17 | Adds binary_format to rustc target specs | Pyrode | -29/+11 | |
| 2025-02-07 | Remove Linkage::Appending | bjorn3 | -1/+0 | |
| It can only be used for certain LLVM internal variables like llvm.global_ctors which users are not allowed to define. | ||||
| 2025-02-07 | Remove Linkage::Private | bjorn3 | -1/+1 | |
| This is the same as Linkage::Internal except that it doesn't emit any symbol. Some backends may not support it and it isn't all that useful anyway. | ||||
| 2025-01-20 | work around the `wasm32-unknown-unknown` ABI being broken | Folkert de Vries | -8/+39 | |
| 2025-01-20 | support wasm inline assembly in naked functions | Folkert de Vries | -4/+136 | |
| 2025-01-10 | add `-Zmin-function-alignment` | Folkert de Vries | -2/+6 | |
| 2024-12-16 | rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures | Jonathan Dönszelmann | -1/+1 | |
| 2024-12-10 | emit `.weak_definition` instead of `.weak` on macos | Folkert de Vries | -28/+37 | |
| 2024-12-10 | codegen `#[naked]` functions using `global_asm!` | Folkert | -0/+257 | |
