Skip to content

Add basic support for libstd without a runtime. #8454

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

Closed
wants to merge 1 commit into from
Closed

Add basic support for libstd without a runtime. #8454

wants to merge 1 commit into from

Conversation

emberian
Copy link
Member

To use it, pass --cfg no_rt to rustc when building libstd. Not everything is
implemented correctly, and it probably needs to be reworked to use a
zero.rs-like description of the runtime that does exist. Careful
consideration and reworking needs to be done to make the libstd able to be run
on bare metal.

To use it, pass `--cfg no_rt` to rustc when building libstd. Not everything is
implemented correctly, and it probably needs to be reworked to use a
zero.rs-like description of the runtime that *does* exist. Careful
consideration and reworking needs to be done to make the libstd able to be run
on bare metal.
@emberian
Copy link
Member Author

@sanxiyn
Copy link
Member

sanxiyn commented Aug 12, 2013

CC #7282.

@brson
Copy link
Contributor

brson commented Aug 12, 2013

I left most of the comments I had on the mailing list.

Don't take this too negatively, because this is a goal I want to work towards, but I don't think we should merge such an invasive change without knowing what use case it meets, and having a firm strategy for guaranteeing that it doesn't bitrot. If the goal is to work on a microcontroller, then we should identify the specific things that don't work there and have a series of steps to refactor the build and std toward enabling it.

@emberian emberian closed this Aug 14, 2013
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