-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(nodejs-polars): missing build and publish targets #2102
Conversation
5c1aad6
to
0cb445a
Compare
build: | | ||
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=32; | ||
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=128; |
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.
If we set this to 1 we get a faster binary. That's definitely worth it.
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.
Let's also set LTO=true
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.
There are codegen issues in Rust while compiling i686-windows-msvc target: rust-lang/rust#67497.
So I disable it only in target i686-pc-windows-msvc
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.
Right, maybe we could add a comment to that PR so that we remember why we did it.
Thanks a lot for this. 👍 |
@universalmind303 could you review this one? |
@@ -124,7 +124,7 @@ describe("lazyframe", () => { | |||
}); | |||
expect(actual).toFrameEqualIgnoringOrder(expected); | |||
}); | |||
test("dropDuplicates:maintainOrder", () =>{ | |||
test.skip("dropDuplicates:maintainOrder", () =>{ |
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.
is there a reason this test is skipped?
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.
otherwise looks good, Thanks for adding all of the additional targets!
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.
@universalmind303 It was passed on my local machine, but failed in CI... I don't know why.
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.
ill take a look at it. But I think we can still merge this in as its a great addition.
This pull request has been tested in https://github.com/Brooooooklyn/polars/actions/runs/1606199035
Note: the package on the
npm
is broken for now, because the some ofoptionalDependencies
was missing.If you want to draft a new version of Node.js on npm, I recommend you to create an npm scope such as
@pola
or@polars
, because packages without scope are easy to trigger npm's spam detection