rust-lang / rust-lang/rustc_codegen_cranelift
Fix CG_CLIF_JIT_ARGS on Linux, macOS and Windows
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 157
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 3
Description
On Linux since 5c6bf836fe3d4cfda1b827a5cd3982e5a588c0ff, the arguments passed to libstd by glibc when dlopening it are used, which are the arguments of the rustc process, not those in CG_CLIF_JIT_ARGS.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Linux, then compare the handling of CG_CLIF_JIT_ARGS across Linux, macOS, and Windows. Verify how arguments are passed when libstd is loaded through dlopen. Done means the configured CG_CLIF_JIT_ARGS values are used instead of the rustc process arguments on all three platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100