rust/src
Ralf Jung 6a8cdbd285
Rollup merge of #76474 - bjorn3:driver_selected_codegen, r=oli-obk
Add option to pass a custom codegen backend from a driver

This allows the driver to pass information to the codegen backend. For example the headcrab debugger may in the future want to use cg_clif to JIT code to be injected in the debuggee. This would PR make it possible to tell cg_clif which symbol can be found at which address and to tell it to inject the JITed code into the right process.

This PR may also help with https://github.com/rust-lang/miri/pull/1540 by allowing miri to provide a codegen backend that only emits metadata and doesn't perform any codegen.

cc @nbaksalyar (headcrab)
cc @RalfJung (miri)
2020-09-28 18:39:40 +02:00
..
bootstrap Auto merge of #77008 - fortanix:raoul/lvi-tests, r=Mark-Simulacrum 2020-09-28 03:28:04 +00:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci Do not link LLVM tools to LLVM dylib unless rustc is 2020-09-19 18:21:08 -04:00
doc Rollup merge of #77249 - jyn514:private-links, r=Manishearth 2020-09-27 18:37:23 +02:00
etc Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
librustdoc Rollup merge of #76474 - bjorn3:driver_selected_codegen, r=oli-obk 2020-09-28 18:39:40 +02:00
llvm-project@7075196da1 Rebase LLVM onto 11.0.0-rc3 2020-09-22 10:16:03 -07:00
test Rollup merge of #76474 - bjorn3:driver_selected_codegen, r=oli-obk 2020-09-28 18:39:40 +02:00
tools Rollup merge of #76474 - bjorn3:driver_selected_codegen, r=oli-obk 2020-09-28 18:39:40 +02:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt bump version to 1.48 2020-08-26 10:16:59 +02:00
version bootstrap: move the version number to a plaintext file 2020-09-18 14:58:22 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.