Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion commons/zenoh-shm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ fn main() {
// family (including all Apple targets, which are BSD-derived) plus
// Redox. Computed directly instead of pulling in the `cfg_aliases`
// crate for a single derived flag.
let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
let target_os = std::env::var("CARGO_CFG_TARGET_OS")
.expect("CARGO_CFG_TARGET_OS must be set by Cargo when running build scripts");
let shm_external_lockfile = matches!(
target_os.as_str(),
"freebsd"
Expand Down
Loading