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

Add a `-Z replace-surrogates` command-line option. #6614

Merged
merged 3 commits into from Jul 14, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Unpaired surrogates: Document the -Z flag in the panic message.

  • Loading branch information
SimonSapin committed Jul 13, 2015
commit a5b6cb6b433516068a8810f8eb9da894c2c3d8e9
@@ -373,7 +373,8 @@ pub fn jsstring_to_str(cx: *mut JSContext, s: *mut JSString) -> DOMString {
error!(message!());
s.push('\u{FFFD}');
} else {
panic!(message!());
panic!(concat!(message!(), " Use `-Z replace-surrogates` \
on the command line to make this non-fatal."));
}
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.