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

Allow non-ascii-idents in extern blocks #83942

Open
Manishearth opened this issue Apr 6, 2021 · 0 comments
Open

Allow non-ascii-idents in extern blocks #83942

Manishearth opened this issue Apr 6, 2021 · 0 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. F-non_ascii_idents `#![feature(non_ascii_idents)]`

Comments

@Manishearth
Copy link
Member

RFC 2457 disallows non-ascii idents in extern blocks and no_mangle.

We added an error for extern blocks in #83923 (no_mangle already errors).

We should figure out if we can allow these -- we'd need to make sure the name mangling schemes consistently handle non-ASCII. I believe at the moment MSVC gets grumpy about this.

@Dylan-DPC Dylan-DPC added C-enhancement Category: An issue proposing an enhancement or a PR with one. F-non_ascii_idents `#![feature(non_ascii_idents)]` labels Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. F-non_ascii_idents `#![feature(non_ascii_idents)]`
Projects
None yet
Development

No branches or pull requests

2 participants