-
Notifications
You must be signed in to change notification settings - Fork 79
Various enhancements #10
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
Conversation
@@ -272,6 +253,29 @@ impl fmt::Show for Atom { | |||
} | |||
} | |||
|
|||
impl Str for Atom { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to leave the Str implementation until the rust team make the change in stdlib so that Str does not imply Equiv?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with this issue -- can you elaborate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in relation to this - rust-lang/rust#16738
Have you tested cross compiling to android? If not, I can test that once it's merged into servo and fix any issues if you want to do it that way. Otherwise, looks good to me! |
I haven't tested cross compiling, and I don't have an easy way to do so, so I think it would be better to test once it's merged in Servo. |
This helps us make a C-friendly library, which is important for html5ever.
We can't make these simple Atom constants, because the Atom type has a destructor.
I'll get rid of the |
Servo's Rust is too old to build this code, but I want these changes for html5ever.
We can update Servo's submodule after the next Rust upgrade (which is already needed to land html5ever).