Skip to content

Add RISC-V support on GNU/Linux#1176

Merged
bors[bot] merged 1 commit intonix-rust:masterfrom
msizanoen1:riscv
Feb 2, 2020
Merged

Add RISC-V support on GNU/Linux#1176
bors[bot] merged 1 commit intonix-rust:masterfrom
msizanoen1:riscv

Conversation

@msizanoen1
Copy link
Copy Markdown
Contributor

No description provided.

@asomers
Copy link
Copy Markdown
Member

asomers commented Jan 9, 2020

How does one build this? Does rustup include a risc-v toolchain now?

@msizanoen1
Copy link
Copy Markdown
Contributor Author

No but libc and libstd are ported.
You can get a RISC-V cross toolchain and use xargo or cargo's -Zbuild-std.

@msizanoen1
Copy link
Copy Markdown
Contributor Author

This is the PR for building rust libstd on CI: rust-lang/rust#68037
After it is merged you can install it from rustup.

@asomers
Copy link
Copy Markdown
Member

asomers commented Jan 11, 2020

What exactly does this PR accomplish? Is there more to it than those handfuls of constants?

@msizanoen1
Copy link
Copy Markdown
Contributor Author

That's everything needed to make it compile on RISC-V.

Copy link
Copy Markdown
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge this change because it is, at the very least, harmless to supported platforms. But we can't officially support RISC-V without a CI solution.

bors r+

bors Bot added a commit that referenced this pull request Feb 2, 2020
1176: Add RISC-V support on GNU/Linux r=asomers a=msizanoen1



Co-authored-by: msizanoen1 <qtmlabs@protonmail.com>
@bors
Copy link
Copy Markdown
Contributor

bors Bot commented Feb 2, 2020

Build succeeded

@bors bors Bot merged commit 10e69db into nix-rust:master Feb 2, 2020
@msizanoen1 msizanoen1 deleted the riscv branch February 3, 2020 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants