diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-05-29 17:37:38 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-04 13:20:05 +0200 |
| commit | e30490d5b2e03e8e324c336dc2daf3c5fc1cbf59 (patch) | |
| tree | 8bc29bbed22f3d4b56136b73fb09dddab8222243 /compiler/rustc_codegen_ssa/src/lib.rs | |
| parent | 96247017fad9b216259cfa64a7762a816854dcd7 (diff) | |
| download | rust-e30490d5b2e03e8e324c336dc2daf3c5fc1cbf59.tar.gz rust-e30490d5b2e03e8e324c336dc2daf3c5fc1cbf59.zip | |
Move crate_name field from OngoingCodegen to CrateInfo
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs index 35d32130d74..e757051e22b 100644 --- a/compiler/rustc_codegen_ssa/src/lib.rs +++ b/compiler/rustc_codegen_ssa/src/lib.rs @@ -128,6 +128,7 @@ impl From<&cstore::NativeLib> for NativeLib { /// and the corresponding properties without referencing information outside of a `CrateInfo`. #[derive(Debug, Encodable, Decodable)] pub struct CrateInfo { + pub local_crate_name: Symbol, pub panic_runtime: Option<CrateNum>, pub compiler_builtins: Option<CrateNum>, pub profiler_runtime: Option<CrateNum>, @@ -146,7 +147,6 @@ pub struct CrateInfo { #[derive(Encodable, Decodable)] pub struct CodegenResults { - pub crate_name: Symbol, pub modules: Vec<CompiledModule>, pub allocator_module: Option<CompiledModule>, pub metadata_module: Option<CompiledModule>, |
