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

fix: Disable debug information in CI workflow #754

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

fuzzypixelz
Copy link
Member

@fuzzypixelz fuzzypixelz commented Feb 23, 2024

Fixes #753.

By default rustc's split-debuginfo is off on Linux and packed on macOS and Windows in Cargo's dev profile (essentially the configuration used for commands such as cargo build). Which means that on Linux debug information is included in the ELF binary while on macOS and Windows it's packed into a separate file. I'm not sure how this results in much larger debug information on Linux (the build size goes from > 20GB with debuginfo=full to < 5GB with debuginfo=none while it only decreases by 2-3GB for macOS and Windows).

In any case, debug information is superfluous in CI, so this pull request simply disables it. This is rustc's default setting, but Cargo overrides it for "better user experience". Which only makes sense for dev boxes where a developer might want to run a debugger at any time.

@Mallets Mallets merged commit d48f00a into eclipse-zenoh:main Feb 23, 2024
14 checks passed
jerry73204 pushed a commit to NEWSLabNTU/zenoh that referenced this pull request Mar 6, 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.

The CI workflows runs out of storage space
2 participants