This commit is contained in:
Ralf Jung 2022-01-26 10:54:55 -05:00
parent aea10ca101
commit 42b144ee8c
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
e19ca1d946269f7b7eb13171531caf2e16f42076
a7f375789bab1a4e4a291c963081a8ca7d2b6bd7

View File

@ -17,6 +17,7 @@ impl Dlsym {
pub fn from_str(name: &str) -> InterpResult<'static, Option<Dlsym>> {
Ok(match name {
"getentropy" => Some(Dlsym::getentropy),
"openat" => None, // std has a fallback for this
_ => throw_unsup_format!("unsupported macOS dlsym: {}", name),
})
}