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

Add compilation profiles to std #7282

Closed
brson opened this issue Jun 21, 2013 · 4 comments
Closed

Add compilation profiles to std #7282

brson opened this issue Jun 21, 2013 · 4 comments
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

Comments

@brson
Copy link
Contributor

brson commented Jun 21, 2013

We would like the standard library to be compilable for multiple types of environments. Some environments (JS) don't like green threads, some (JS, microcontrollers) don't like threads at all, some (kernels) just need their own implementations of practically everything. Due to some complex interrelationships I don't think it's generally possible to factor all these capabilities out into their own crates, so we'll have to live with compiling std into different 'profiles'.

@bstrie
Copy link
Contributor

bstrie commented Jul 12, 2013

Nominating for Well-Covered.

@catamorphism
Copy link
Contributor

Just a bug

@emberian
Copy link
Member

emberian commented Sep 8, 2013

cc @cmr

@alexcrichton
Copy link
Member

Closing, I believe that the libstd facade overrules this direction of making std more portable. Instead of having compilation profiles, we have chosen to have a "pick and choose" situation to select which crates work the best for your particular application.

flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 3, 2021
Fix allow on some statement lints

changelog: Fix `#[allow(..)]` over statements for [`needless_collect`], [`short_circuit_statement`] and [`unnecessary_operation`]

Fixes rust-lang#7171
Fixes rust-lang#7202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Projects
None yet
Development

No branches or pull requests

5 participants