Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename LLVM target for RustyHermit #84930

Merged
merged 1 commit into from
May 7, 2021
Merged

rename LLVM target for RustyHermit #84930

merged 1 commit into from
May 7, 2021

Commits on May 7, 2021

  1. rename LLVM target for RustyHermit

    RustyHermit ist is a library operating system. In this case, we link a static library as kernel to the application. The final result is a bootable application. The library and the application have to use the same target. Currently, the targets are different (see also https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/x86_64_unknown_hermit.rs). Consequently, this commit change the LLVM target to 'hermit'.
    
    This kernel spec is needed to disable the usage of FPU registers, which are not allowed in kernel space. In contrast to Linux, everything is running in ring 0 and also in the same address space.
    
    Signed-off-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
    stlankes committed May 7, 2021
    Configuration menu
    Copy the full SHA
    76f884a View commit details
    Browse the repository at this point in the history