-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Separate JsString
into its own crate
#3837
Conversation
Test262 conformance changes
|
This comment was marked as resolved.
This comment was marked as resolved.
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.
Nice work :)
ee9bc01
to
ea4c7b3
Compare
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.
LGTM! Just had one passing thought when reviewing, but nothing blocking for me.
core/string/src/tagged.rs
Outdated
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.
thought: should we look to move Tagged<T>
into a utility crate.
Obviously this is super minor since it's really only like 100 lines, but instead of having this reimplemented in boa_string
, should we look to move tag into a utility crate and then import it into boa_engine
and boa_string
?
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.
Yeah, I was going to do that, but wanted to keep the PR small. Will do that in a follow up PR :)
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.
Here is the PR for it: #3849 :)
ea4c7b3
to
8f716e2
Compare
This Pull Request is a continuation of the work on #3829 , by moving the string crate because the
ByteCompiler
depends on it.There are still some issues withFixed by making it point tojs_str!
macro that constructs aJsStr
, there is no$crate
for proc macros unfortunately 😢boa_engine
otherwise you have to includeboa_string
everywhere... If there is another solution for this, would love to hear it :)