Uh oh!
There was an error while loading. Please reload this page.
Disallow loading crates with non-ascii identifier name. - #73305
Merged
Conversation
rust-highfive
commented
Jun 13, 2020
Contributor
(rust_highfive has picked a reviewer for you, use r? to override) |
crlf0710
commented
Jun 13, 2020
MemberAuthor
crlf0710force-pushed
the
disallow_loading_monsters
branch
from
June 13, 2020 05:32
388209b to
61cfc0cCompare
This comment has been minimized.
This comment has been minimized.
crlf0710force-pushed
the
disallow_loading_monsters
branch
from
June 13, 2020 07:50
61cfc0c to
c245f46Comparepetrochenkov
commented
Jun 13, 2020
Contributor
Could you put the error into |
crlf0710force-pushed
the
disallow_loading_monsters
branch
from
June 15, 2020 16:00
c245f46 to
7149485Comparecrlf0710
commented
Jun 15, 2020
MemberAuthor
Updated addressing the review comments. |
Uh oh!
There was an error while loading. Please reload this page.
crlf0710force-pushed
the
disallow_loading_monsters
branch
from
June 16, 2020 13:36
7149485 to
1990f97Comparepetrochenkov
commented
Jun 16, 2020
Contributor
Thanks! |
bors
commented
Jun 16, 2020
Collaborator
📌 Commit 1990f97 has been approved by |
RalfJung
commented
Jun 16, 2020
Member
@bors rollup |
23 tasks
Dylan-DPC-zz pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Jun 17, 2020
… r=petrochenkov Disallow loading crates with non-ascii identifier name. This turns off external crate loading with non-ascii identifier names. cc rust-lang#55467.
tmandry added a commit
to tmandry/rust
that referenced
this pull request
Jun 17, 2020
… r=petrochenkov Disallow loading crates with non-ascii identifier name. This turns off external crate loading with non-ascii identifier names. cc rust-lang#55467.
RalfJung added a commit
to RalfJung/rust
that referenced
this pull request
Jun 18, 2020
… r=petrochenkov Disallow loading crates with non-ascii identifier name. This turns off external crate loading with non-ascii identifier names. cc rust-lang#55467.
bors added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jun 19, 2020
Rollup of 13 pull requests Successful merges: - rust-lang#70740 (Enabling static-pie for musl) - rust-lang#72331 (Report error when casting an C-like enum implementing Drop) - rust-lang#72486 (Fix asinh of negative values) - rust-lang#72497 (tag/niche terminology cleanup) - rust-lang#72999 (Create self-contained directory and move there some of external binaries/libs) - rust-lang#73130 (Remove const prop for indirects) - rust-lang#73142 (Ensure std benchmarks get tested.) - rust-lang#73305 (Disallow loading crates with non-ascii identifier name.) - rust-lang#73346 (Add rust specific features to print target features) - rust-lang#73362 (Test that bounds checks are elided when slice len is checked up-front) - rust-lang#73459 (Reduce pointer casts in Box::into_boxed_slice) - rust-lang#73464 (Document format correction) - rust-lang#73479 (Minor tweaks to liballoc) Failed merges: r? @ghost
bors added a commit
to rust-lang/cargo
that referenced
this pull request
Aug 23, 2022
Update non-ASCII crate name warning message This PR fixes an outdated warning when initializing crates sometimes. ### What does this PR try to resolve? Per [a Zulip convo](https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Non-ASCII.20crate.20name.20status/near/294876491) on the topic, non-ASCII crate names are no longer allowed on any toolchain since rust-lang/rust#73305, during the `non_ascii_idents` feature's development. Cargo however tells the user that they are accepted on Nightly. Rust and Cargo should agree on this point to avoid future confusion. ### How should we test and review this PR? This should be covered by the existing test that was changed but if desired its easy to test with a checkout: ``` Running `/Users/fox/x/Forks/cargo/target/release/cargo init 'ああああ'` warning: the name `ああああ` contains non-ASCII characters Non-ASCII crate names are not supported by Rust. ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This turns off external crate loading with non-ascii identifier names.
cc #55467.