rust-lang / rust-lang/rustc-dev-guide

Switching Out LLVM Backends

Open
#71 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-custom-codegen-backend A-LLVM C-enhancement E-hard E-help-wanted T-compiler
Dominant language
HTML
Stars
1.9k
Forks
613
Avg merge
17h 24m
Merged PRs (30d)
39

Description

Recently support landed in rustc for dynamically loading LLVM. It would be nice if the rustc-guide documented how to switch to a custom LLVM backend. I'm not sure if this was planned to be included in the trans chapter(#6), as it does not yet have a tracking issue I could comment on.

Sorry if this is out of scope for the rustc-guide!

An example where people ask for this documentation.

Cheers

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the rustc-guide's trans chapter (#6) and the linked internals discussion about custom LLVM backends. Determine whether backend switching belongs there or needs a separate section, then document how to switch to a custom LLVM backend and ensure the resulting guidance covers the requested use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.