Skip to content

Commit

Permalink
No targets, only master.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Munns committed Feb 14, 2019
1 parent 6ba46fe commit 0c2851d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions text/0000-std-aware-cargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,9 @@ With the mechanisms specified above, it could be possible to remove the concept
By using stable feature flags for `std`, we could say that `std` as a crate with `default-features = false` would essentially be `no_core`, or with `features = ["core"]`, we would be the same as `no_std`.

This abstraction may not map to the actual implementation of `libcore` or `libstd`, but instead be an abstraction layer for the end developer.

## Stop shipping pre-compiled `core` and `std`

With the ability to build these crates on demand, we may want to decide not to ship `target` bundles for any users.

This would come at a cost of increased compile times, at least for the first build, if the artifacts are cached globally. However it would remove a mental snag of having to sometimes run `rustup target add`, and confusion from some users why parts of `std` and `core` have different optimization settings (particularly for debug builds) when debugging.

0 comments on commit 0c2851d

Please sign in to comment.