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

Move disabling the native-client into the native client itself #19010

Merged
merged 3 commits into from
May 15, 2023

Conversation

stuhood
Copy link
Member

@stuhood stuhood commented May 15, 2023

On pantsbuild/scie-pants#172, @jsirois pointed out that allowing the native-client to handle disabling itself (if requested) would be much cleaner from a scie-pants perspective, and keeping scie-pants as small and simple as possible is an important goal.

This change moves PANTS_NO_NATIVE_CLIENT handling into the native client.

@stuhood stuhood added the category:internal CI, fixes for not-yet-released features, etc. label May 15, 2023
@stuhood stuhood requested a review from jsirois May 15, 2023 18:55
Copy link
Contributor

@jsirois jsirois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good mod the clippy and the debugging commit.

src/rust/engine/client/src/main.rs Outdated Show resolved Hide resolved
@stuhood stuhood force-pushed the stuhood/native-client-self-fallback branch from ad851dd to 85d2c8a Compare May 15, 2023 19:41
@stuhood stuhood marked this pull request as ready for review May 15, 2023 19:41
@stuhood stuhood enabled auto-merge (squash) May 15, 2023 19:41
@stuhood stuhood merged commit 731abd8 into pantsbuild:main May 15, 2023
@stuhood stuhood deleted the stuhood/native-client-self-fallback branch May 15, 2023 21:21
stuhood added a commit to pantsbuild/scie-pants that referenced this pull request May 15, 2023
This change uses the `native-client` binary included in
`pantsbuild/pants` wheels by
pantsbuild/pants#18957 (and further adjusted in
pantsbuild/pants#19010) to launch `pants`. See
that change for the performance impact.
@stuhood stuhood mentioned this pull request May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants