Skip to main content

Module channel

Module channel 

Source
Expand description

Build configuration for Rustโ€™s release channels.

Implements the stable/beta/nightly channel distinctions by setting various flags like the unstable_features, calculating variables like release and package_vers, and otherwise indicating to the compiler what it should print out as part of its version information.

Re-exportsยง

use std::fs; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use super::exec::ExecutionContext; ๐Ÿ”’
use super::helpers; ๐Ÿ”’
use crate::core::session::Session; ๐Ÿ”’
use crate::utils::helpers::t; ๐Ÿ”’

Structsยง

Info

Enumsยง

GitInfo

Functionsยง

read_commit_info_file
Read the commit information from the git-commit-info file given the project root.
write_commit_hash_file
Write the commit hash to the git-commit-hash file given the project root.
write_commit_info_file
Write the commit information to the git-commit-info file given the project root.