FreeBSD: Replace unstable env to set version with an unstable cfg#5201
Merged
Conversation
tgross35
force-pushed
the
freebsd-version-cfg
branch
6 times, most recently
from
June 23, 2026 04:10
80f0644 to
7f917fc
Compare
tgross35
marked this pull request as ready for review
June 23, 2026 04:14
Contributor
Author
|
Fyi @asomers, I'm planning to migrate env config to RUSTFLAGS. So if you are using |
tgross35
force-pushed
the
freebsd-version-cfg
branch
from
June 23, 2026 04:19
7f917fc to
4976da1
Compare
This comment has been minimized.
This comment has been minimized.
Environment variables affect builds for both the host and target, while cfg can be more accurately scoped with `RUSTFLAGS`.
tgross35
force-pushed
the
freebsd-version-cfg
branch
from
June 23, 2026 04:59
4976da1 to
5d40e5e
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
tgross35
added a commit
to tgross35/rust-libc
that referenced
this pull request
Jul 20, 2026
Environment variables affect builds for both the host and target, while cfg can be more accurately scoped with `RUSTFLAGS`. (backport <rust-lang#5201>) (cherry picked from commit e3c4971)
tgross35
added a commit
to tgross35/rust-libc
that referenced
this pull request
Jul 20, 2026
Environment variables affect builds for both the host and target, while cfg can be more accurately scoped with `RUSTFLAGS`. (backport <rust-lang#5201>) (cherry picked from commit e3c4971)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Environment variables affect builds for both the host and target, while cfg can be more accurately scoped with
RUSTFLAGS.