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

Allow environment variables to contain numbers #1481

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

pizaCat
Copy link
Contributor

@pizaCat pizaCat commented Apr 30, 2024

When environment variable pass-through is used, a warning is displayed if the name of the variable contains a number and the value is taken from the host. For example:

[cross] warning: got environment variable of "MY_VAR_AES256" which is not a valid environment variable name. the proper syntax is `passthrough = ["ENVVAR=value"]`

The variable is still passed onto the cross container with the value from the host, but the warning is misleading.

@pizaCat pizaCat requested a review from a team as a code owner April 30, 2024 21:43
@Emilgardis Emilgardis added no-ci-targets PRs that do not affect any cross-compilation targets. no-ci-tests and removed no-ci-targets PRs that do not affect any cross-compilation targets. labels Apr 30, 2024
@Emilgardis
Copy link
Member

Awesome, good catch. Feel free to add a changelog entry via .changes, altough maybe it's not needed

@pizaCat
Copy link
Contributor Author

pizaCat commented Apr 30, 2024

I added the .changes entry, hopefully the filename is ok. It looked like the PR # was used for filename so I did that.

@Emilgardis Emilgardis added this pull request to the merge queue Apr 30, 2024
Merged via the queue into cross-rs:main with commit 2de4d10 Apr 30, 2024
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-ci-targets PRs that do not affect any cross-compilation targets. no-ci-tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants