rust/tests/target/issue-4382.rs

11 lines
148 B
Rust
Raw Normal View History

pub const NAME_MAX: usize = {
#[cfg(target_os = "linux")]
{
1024
}
#[cfg(target_os = "freebsd")]
{
255
}
};