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

feat(pipelines/cargo): add support for rustflags #1698

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

maxgio92
Copy link
Contributor

@maxgio92 maxgio92 commented Dec 12, 2024

This PR introduces an input option for the cargo/build pipeline to pass rust flags to all compilers.
It leverages the RUSTFLAGS environment variable.

Functional Changes

  • This change can build all of Wolfi without errors (describe results in notes)

Notes:
To make build package pipelines pass, the following PR is needed I think:

Signed-off-by: Massimiliano Giovagnoli <massimiliano.giovagnoli@chainguard.dev>
@maxgio92 maxgio92 marked this pull request as ready for review December 12, 2024 18:27
@maxgio92 maxgio92 merged commit cd52ead into chainguard-dev:main Dec 12, 2024
36 of 40 checks passed
@maxgio92 maxgio92 deleted the cargo-rustflags branch December 12, 2024 18:44
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