-
Notifications
You must be signed in to change notification settings - Fork 404
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
Fix getting the target-dir in wasm_bindgen_build #1279
Conversation
0141e79
to
25ef942
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.
Can you add a test case for this as well?
e3a5284
to
4190e54
Compare
@hamza1311 sure, I've added a test that panics on current master 3073db8 . |
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.
Oops, didn't mean to approve. The CI is failing
I have seen the same failure in other actions as well, e.g. here |
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.
Thank you!
Fixes #1278
The bug was caused by using binary_search on
extra_options
which is not sorted.Make sure these boxes are checked! 📦✅
rustfmt
installedcargo fmt
on the code base before submitting