Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP Port of Rust's std to Minix

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

ids1024/rust-minix

Repository files navigation

Build Status

WIP Port of Rust's std to Minix

Some additional information on this port can by found inmy blog post introducing it.

For the moment, this is set up to allow cross compiling from Linux. Other systems with Rust compiler may work, but are not tested.

make is used to build a copy ofstd targeting Minix. Then thecargo-minix script can be used instead of cargo to set all the necessary environmental variables so that thei586-unknown-minix target andstd is available.

cargo-minix should either be run in a subdirectory of this repo, or the.cargo directory created bymake must be copied.

export MINIX_TOOLDIR=~/minix/obj.i386/tooldir.Linux-4.20.1-arch1-1-ARCH-x86_64export MINIX_ROOT=~/minix/obj.i386/destdir.i386make update-submodulesmakecargo new --bin hellocd hello../cargo-minix build --target i586-unknown-minix --releasecd ..git clone https://github.com/ids1024/ripgrep -b minixcd ripgrep../cargo-minix build --target i586-unknown-minix --releasecd ..

NOTE: Using a nightly compiler to build std from a fork of the rust repository, as done here, is not supported and not guaranteed to work, since std depends on unstable features that may change in later compiler versions. But the correct solution requires compiling rustc from the same source tree (while takes a long time and a lot of disk space). So this should be fine, but may break at any time (which is fixed by using an older nightly, or merging upstream into the rust fork).

About

WIP Port of Rust's std to Minix

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp