rustup
This commit is contained in:
parent
aea10ca101
commit
42b144ee8c
@ -1 +1 @@
|
|||||||
e19ca1d946269f7b7eb13171531caf2e16f42076
|
a7f375789bab1a4e4a291c963081a8ca7d2b6bd7
|
||||||
|
@ -17,6 +17,7 @@ impl Dlsym {
|
|||||||
pub fn from_str(name: &str) -> InterpResult<'static, Option<Dlsym>> {
|
pub fn from_str(name: &str) -> InterpResult<'static, Option<Dlsym>> {
|
||||||
Ok(match name {
|
Ok(match name {
|
||||||
"getentropy" => Some(Dlsym::getentropy),
|
"getentropy" => Some(Dlsym::getentropy),
|
||||||
|
"openat" => None, // std has a fallback for this
|
||||||
_ => throw_unsup_format!("unsupported macOS dlsym: {}", name),
|
_ => throw_unsup_format!("unsupported macOS dlsym: {}", name),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user