-
Notifications
You must be signed in to change notification settings - Fork 86
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
preparing RustyHermit to support aarch64 #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks quite good 👍
.arg("--target") | ||
.arg("x86_64-unknown-hermit-kernel"); | ||
|
||
if target.target_arch() == "x86_64" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
match > if else
.join(&profile) | ||
.canonicalize() | ||
.unwrap(); // Must exist after building | ||
let lib_location = if target.target_arch() == "x86_64" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
match > if else
.arg("-Z") | ||
.arg("build-std=core,alloc") | ||
.arg("--target") | ||
.arg("x86_64-unknown-hermit-kernel"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could as well put the if-else/match
statement only into the last argument. The others seem to be identical. BTW: with the latest nightlys you could also specify build-std in the .cargo/config.
test.yml build also the whole system
No description provided.