Rustup to rustc 1.36.0-nightly (597f43248
2019-04-26)
This commit is contained in:
parent
9f6a65b08b
commit
11d816cce5
@ -13,6 +13,7 @@ alloc_system = { path = "./alloc_system" }
|
||||
|
||||
[patch.crates-io]
|
||||
rustc-std-workspace-core = { path = "./sysroot_src/src/tools/rustc-std-workspace-core" }
|
||||
rustc-std-workspace-alloc = { path = "./rustc-std-workspace-alloc" }
|
||||
compiler_builtins = { path = "./compiler_builtins" }
|
||||
|
||||
[profile.release]
|
||||
|
15
build_sysroot/rustc-std-workspace-alloc/Cargo.toml
Normal file
15
build_sysroot/rustc-std-workspace-alloc/Cargo.toml
Normal file
@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "rustc-std-workspace-alloc"
|
||||
version = "1.0.0"
|
||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||
license = 'MIT/Apache-2.0'
|
||||
description = """
|
||||
Hack for the compiler's own build system
|
||||
"""
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
alloc = { path = "../sysroot_src/src/liballoc" }
|
5
build_sysroot/rustc-std-workspace-alloc/lib.rs
Normal file
5
build_sysroot/rustc-std-workspace-alloc/lib.rs
Normal file
@ -0,0 +1,5 @@
|
||||
#![feature(no_core)]
|
||||
#![no_core]
|
||||
#![deny(rust_2018_idioms)]
|
||||
|
||||
pub use ::alloc::*;
|
@ -340,13 +340,13 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
||||
} else {
|
||||
None
|
||||
},
|
||||
metadata_module: CompiledModule {
|
||||
metadata_module: Some(CompiledModule {
|
||||
name: "dummy_metadata".to_string(),
|
||||
kind: ModuleKind::Metadata,
|
||||
object: None,
|
||||
bytecode: None,
|
||||
bytecode_compressed: None,
|
||||
},
|
||||
}),
|
||||
crate_hash: tcx.crate_hash(LOCAL_CRATE),
|
||||
metadata,
|
||||
windows_subsystem: None, // Windows is not yet supported
|
||||
|
Loading…
Reference in New Issue
Block a user