In order to prepare for future lang/rust updates, facilitate upstreaming (including new platform support), test nightly->stable workarounds (devel/racer, textproc/ripgrep) and debugging it maybe desirable to build consumers using lang/rust-nightly. So, let's expose RUST_CHANNEL via DEFAULT_VERSIONS where empty/unset RUST_DEFAULT would imply stable.
Details
Details
- Reviewers
tobik - Group Reviewers
rust O5: Ports Framework portmgr - Commits
- rP489285: MFH: r489241
rP489241: Allow overriding rust dependency
default:
DEFAULT_VERSIONS+=rust=nightly:
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I don't have any objections to the idea, but I'd rather the values for RUST_DEFAULT are the package names rust and rust-nightly (similar to SSL_DEFAULT, ignoring base...) as all of the depends would be much simpler. Having an empty RUST_DEFAULT value select lang/rust is weird and I'd like the depends line to be immediately obvious to anyone. It also needs to be documented in bsd.default-versions.mk.
DEFAULT_VERSIONS+= rust=rust-nightly BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.31.0:lang/${RUST_DEFAULT}