Skip to content
Snippets Groups Projects
Commit 0ea9f9cc authored by Stefan Lankes's avatar Stefan Lankes
Browse files

switch to the latest nightly compiler

- explicit activation of optimized core functions (e.g. memcpy) isn't longer required
parent c9337571
No related branches found
No related tags found
No related merge requests found
[unstable]
build-std = ["core", "alloc"]
build-std-features = ["compiler-builtins-mem", "compiler-builtins-asm"]
build-std-features = ["compiler-builtins-mem"]
[build]
target = "x86_64-unknown-hermit-kernel"
......
......@@ -5,7 +5,7 @@ set(HERMIT_RS "${CMAKE_BINARY_DIR}/hermit_rs/${HERMIT_ARCH}-unknown-hermit-kerne
add_custom_target(hermit_rs
COMMAND
${CMAKE_COMMAND} -E env CARGO_TARGET_DIR=${CMAKE_BINARY_DIR}/hermit_rs RUST_TARGET_PATH=${HERMIT_ROOT}/librs
cargo build ${CARGO_BUILDTYPE_PARAMETER} -Z build-std=core,alloc -Zbuild-std-features=compiler-builtins-asm,compiler-builtins-mem --target ${HERMIT_ARCH}-unknown-hermit-kernel.json --features newlib
cargo build ${CARGO_BUILDTYPE_PARAMETER} -Z build-std=core,alloc -Zbuild-std-features=compiler-builtins-mem --target ${HERMIT_ARCH}-unknown-hermit-kernel.json --features newlib
WORKING_DIRECTORY
${CMAKE_CURRENT_LIST_DIR})
......
[toolchain]
channel = "nightly-2020-12-23"
channel = "nightly-2021-01-22"
components = [ "rustfmt", "rust-src", "llvm-tools-preview"]
targets = [ "x86_64-unknown-hermit" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment