-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Rename stable_mir
and rustc_smir
#143848
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
Rename stable_mir
and rustc_smir
#143848
Conversation
These commits modify the If this was unintentional then you should revert the changes before this PR is merged.
|
3566674
to
ca3d199
Compare
considering the crate hosts the |
I'd say this one is better^^ |
ca3d199
to
acf5795
Compare
Actually there are still bunches of docs, struct names and directory names that need updating. I'd like to do these changes as follow-ups for better clarity. |
acf5795
to
6598c61
Compare
@bors r+ rollup |
Rollup of 8 pull requests Successful merges: - #141809 (Don't call WSACleanup on process exit) - #143710 (Updates to random number generation APIs) - #143848 (Rename `stable_mir` and `rustc_smir`) - #143855 (Port `#[omit_gdb_pretty_printer_section]` to the new attribute parsing) - #143868 (warn on align on fields to avoid breaking changes) - #143870 ([COMPILETEST-UNTANGLE 6/N] Use `TestSuite` enum instead of stringly-typed test suites) - #143901 (Region constraint nits) - #143903 (Fix typos in documentation files) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #143848 - makai410:smir-rename, r=oli-obk Rename `stable_mir` and `rustc_smir` This PR only renames the two crate names. There is no doubt that we want to rename `stable_mir` to `rustc_public`, while it hasn't been discussed yet that what the new name for `rustc_smir` should be. This PR proposes a new name for `rustc_smir`, that is `rustc_public_shim`, since `rustc_smir` now is mostly a proxy to do calls to rustc queries and the public API of rustc that is invoked by the `rustc_public` crate. However, I don't think that name is good enough. I hope there would be a way better name. r? `@oli-obk`
Rollup of 8 pull requests Successful merges: - rust-lang/rust#141809 (Don't call WSACleanup on process exit) - rust-lang/rust#143710 (Updates to random number generation APIs) - rust-lang/rust#143848 (Rename `stable_mir` and `rustc_smir`) - rust-lang/rust#143855 (Port `#[omit_gdb_pretty_printer_section]` to the new attribute parsing) - rust-lang/rust#143868 (warn on align on fields to avoid breaking changes) - rust-lang/rust#143870 ([COMPILETEST-UNTANGLE 6/N] Use `TestSuite` enum instead of stringly-typed test suites) - rust-lang/rust#143901 (Region constraint nits) - rust-lang/rust#143903 (Fix typos in documentation files) r? `@ghost` `@rustbot` modify labels: rollup
This PR only renames the two crate names.
There is no doubt that we want to rename
stable_mir
torustc_public
, while it hasn't been discussed yet that what the new name forrustc_smir
should be.This PR proposes a new name for
rustc_smir
, that isrustc_public_shim
, sincerustc_smir
now is mostly a proxy to do calls to rustc queries and the public API of rustc that is invoked by therustc_public
crate.However, I don't think that name is good enough. I hope there would be a way better name.
r? @oli-obk