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

Ensure native locator is included in the VSIX when built #23476

Merged
merged 2 commits into from
May 24, 2024

Conversation

karthiknadig
Copy link
Member

This ensures that if we run cargo build to build the native code it gets included in the VSIX. For now this is only for the builds for VSIX generated on github, for testing. As this is not ready for published pre-releases.

@karthiknadig karthiknadig added the no-changelog No news entry required label May 24, 2024
@karthiknadig karthiknadig self-assigned this May 24, 2024
@VSCodeTriageBot VSCodeTriageBot added this to the May 2024 milestone May 24, 2024
target: aarch64-pc-windows-msvc
vsix-target: win32-arm64
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
Copy link
Member

@connor4312 connor4312 May 24, 2024

Choose a reason for hiding this comment

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

You will want to either:

  • Use the musl target on all Linux environments, or
  • Ensure you're using a glibc version matching the one we use for VS Code; (e.g. by using a sysroot); by default you'll build with a binary that requires the glibc version of whatever the build machine happens to have

Copy link
Member Author

Choose a reason for hiding this comment

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

I see. will make a switch

@karthiknadig karthiknadig enabled auto-merge (squash) May 24, 2024 19:36
@karthiknadig karthiknadig merged commit 2fe49ea into microsoft:main May 24, 2024
42 checks passed
@karthiknadig karthiknadig deleted the native-ci-build branch May 24, 2024 19:44
DonJayamanne pushed a commit that referenced this pull request Jun 24, 2024
This ensures that if we run cargo build to build the native code it gets
included in the VSIX. For now this is only for the builds for VSIX
generated on github, for testing. As this is not ready for published
pre-releases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants