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: env injection lambda (temp, do not merge) #75

Closed
wants to merge 6 commits into from
Closed

Conversation

sgammon
Copy link
Owner

@sgammon sgammon commented Sep 1, 2023

Testing a fix on top of #72. Do not merge directly.

@sgammon sgammon added bug Something isn't working 🚧 WIP Work-in-progress, do not merge labels Sep 1, 2023
@sgammon sgammon self-assigned this Sep 1, 2023
@sgammon
Copy link
Owner Author

sgammon commented Sep 1, 2023

fixed on all but windows

fmeum and others added 6 commits August 31, 2023 23:39
Instead of relying on the default shell env, get the environment
variables declared by the C++ toolchain. On macOS, additionally use
`apple_support` to pass in `DEVELOPER_DIR`.

Since GraalVM sanitizes the environment, all variables are translated
into `-E` flags.

Signed-off-by: Sam Gammon <sam@elide.ventures>
- fix: move `lambda` to nested function declaration

Signed-off-by: Sam Gammon <sam@elide.ventures>
- fix: unwind combined implementation of classic/modern rules
- fix: classic rules should preserve older functionality
- fix: modern rules should use modern toolchain env
- fix: wrapped/injected `env` while still supporting bazel4
- chore: re-factor commons between old/new rules

Signed-off-by: Sam Gammon <sam@elide.ventures>
- fix: use legacy rules from legacy gvm
- chore: drop `MODULE-resolved.bzl`
- chore: update bzlmod lock
- chore: update lib/docs deps and rebuild docs
- chore: remove redundant calls in sample projects

Applied on top of #72

Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
@sonarcloud
Copy link

sonarcloud bot commented Sep 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sgammon sgammon closed this Sep 1, 2023
@sgammon sgammon removed the 🚧 WIP Work-in-progress, do not merge label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants