Closed
Description
TL;DR
- Bring my Cranelift based codegen backend in tree using
git subtree
and gate PR's on it building. - Extend the testing infrastructure to annotate tests as being specific for a single backend and
annotate all LLVM specific tests.
Links and Details
This will first use git subtree
to integrate the cg_clif repo. Then changes to bootstrap and
compiletest are needed to be able to build and test it. Next CI will need to gate PR's on cg_clif
building. CI will not run any tests for cg_clif. Finally all add a way to annotate tests as
requiring a specific backend and annotate all LLVM specific tests as such.
- The Cranelift backend: https://github.com/bjorn3/rustc_codegen_cranelift
- Design meeting proposal: Cranelift backend for rustc #257
- Pre-meeting details: https://hackmd.io/@bjorn3/HJL5ryFS8
- Meeting notes: Add meeting notes for the cranelift backend design meeting #269
- Complete discussion: https://zulip-archive.rust-lang.org/131828tcompiler/01241designmeeting20200403compilerteam257.html
Mentors or Reviewers
Maybe @Mark-Simulacrum for bootstrap changes?