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

No longer compile the mockgen as part of the rust build #2512

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

bwoebi
Copy link
Collaborator

@bwoebi bwoebi commented Feb 9, 2024

Description

Instead we run a separate rust executable to produce it, and it will be included as a normal .c file in the ddtrace C build

This will allow us to compile the sidecar once for all versions in CI.

Also remove stripping debug symbols in favor of compressing them. This has "only" 50% binary size overhead, which is acceptable, I think.

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@bwoebi bwoebi requested review from a team as code owners February 9, 2024 16:02
@bwoebi bwoebi force-pushed the bob/separate-mockgen-compile branch 2 times, most recently from 8180bef to f121e27 Compare February 12, 2024 13:11
Instead we run a separate rust executable to produce it, and it will be included as a normal .c file in the ddtrace C build

This will allow us to compile the sidecar once for all versions as well as have the debug symbols for the sidecar just once

Signed-off-by: Bob Weinand <[email protected]>
Export full debug symbols of sidecar (for a 50% artifact siye overhead, instead of 500%)

Signed-off-by: Bob Weinand <[email protected]>
@bwoebi bwoebi force-pushed the bob/separate-mockgen-compile branch from f775f4c to 6061c32 Compare February 15, 2024 16:23
@bwoebi bwoebi merged commit bf53bdf into master Feb 16, 2024
573 of 579 checks passed
@bwoebi bwoebi deleted the bob/separate-mockgen-compile branch February 16, 2024 10:02
@github-actions github-actions bot added this to the 0.98.0 milestone Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants