bjorn3

Results 324 issues of bjorn3

**Describe the problem you are trying to solve** Compilation pipelining can currently compile dependent crates as soon as the crate metadata is written in most cases. This improves cpu utilization...

A-linkage
C-feature-request
S-needs-design
Performance

`\u{1}` is an LLVM specific extension which other rustc codegen backends do not support. Fixes https://github.com/rust-lang/rust-bindgen/issues/2935

#### Feature See title. #### Benefit This is required for implementing `#[used(linker)]` in cg_clif. This attribute is equivalent to `attribute((used))` in C. And on all non-ELF platforms it is the...

cranelift

#### Feature See title. #### Benefit Needed to support AtomicU128/AtomicI128 on arm64 for cg_clif. #### Implementation Do whatever LLVM does.

Cranelift doesn't yet support unwinding: https://github.com/bytecodealliance/wasmtime/issues/1677

C-enhancement
S-blocked
A-unwind

This will need changes to cranelift-module.

S-blocked
upstream

Basically we would scrape all vendor intrinsics defined in the LLVM source code at `llvm/include/llvm/IR/Intrinsics.td`, generate some Rust or C code which exercises the vendor intrinsic, compile it using LLVM...

C-enhancement
A-core-arch

``` Importing as collapsed stack format [index.ts:204:14](https://www.speedscope.app/src/import/index.ts) Uncaught (in promise) RuntimeError: index out of bounds wasm_demangle demangle.wasm.js:5 QA demangle.ts:20 demangle profile.ts:419 [demangle-B53S5JWH.js line 1 > WebAssembly.instantiate:24348:1](https://www.speedscope.app/demangle-B53S5JWH.js%20line%201%20%3E%20WebAssembly.instantiate) ``` [foo.collapsed.txt](https://github.com/user-attachments/files/20440564/foo.collapsed.txt) (this is...

Rustc has been able to find the sysroot based on the location of librustc_driver.so in addition to the location of the main executable for a while now.

Transmuting from a reference to a mutable reference is insta-UB: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8da5074ba78a22ba108e198273c547ba ``` error: Undefined Behavior: writing to alloc1 which is read-only --> src/main.rs:5:17 | 5 | let _ = core::mem::transmute::(b"\0\0\0\0\0\0\0\0\0\0");...

bug