Skip to content

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
@vscodenpa vscodenpa 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 requested a review from connor4312 May 24, 2024 19:29
@karthiknadig karthiknadig enabled auto-merge (squash) May 24, 2024 19:36
@karthiknadig karthiknadig merged commit 2fe49ea into microsoft:main May 24, 2024
@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