Skip to content

Commit 5a1ced6

Browse files
committed
VxWorks: Mention that the release ID represents minor+patch
Link: #4781 (comment)
1 parent 2bee2f3 commit 5a1ced6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,10 @@ fn emcc_version_code() -> Option<u64> {
281281
Some(major * 10000 + minor * 100 + patch)
282282
}
283283

284+
/// Retrieve the VxWorks release version from the environment variable set by the VxWorks build
285+
/// environment, in `(minor, patch)` form. Currently the only major version supported by Rust
286+
/// is 7.
284287
fn vxworks_version_code() -> Option<(u32, u32)> {
285-
// Retrieve the VxWorks release version from the environment variable set by the VxWorks build environment
286288
let version = env::var("WIND_RELEASE_ID").ok()?;
287289

288290
let mut pieces = version.trim().split(['.']);

0 commit comments

Comments
 (0)