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

Support rustc -Zsymbol-mangling-version=v0 #10

Closed
wants to merge 1 commit into from

Conversation

cuviper
Copy link
Contributor

@cuviper cuviper commented Jun 11, 2019

No description provided.

@cuviper
Copy link
Contributor Author

cuviper commented Jun 11, 2019

See also rust-lang/rustc-demangle#23

@luser
Copy link
Owner

luser commented Jun 24, 2019

Sorry for letting this sit for two weeks! #11 just got submitted, the patch has very minor differences. Do you think any of them are relevant?

@@ -33,7 +33,7 @@ mod tests;

lazy_static! {
// NOTE: Use [[:alnum::]] instead of \w to only match ASCII word characters, not unicode
static ref MANGLED_NAME_PATTERN: Regex = Regex::new(r"_ZN[\$\._[:alnum:]]*").unwrap();
static ref MANGLED_NAME_PATTERN: Regex = Regex::new(r"_[RZ]N[\$\._[:alnum:]]*").unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_R symbols don't necessarily start with _RN.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cuviper
Copy link
Contributor Author

cuviper commented Jun 24, 2019

I'll yield to #11.

@cuviper cuviper closed this Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants