mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:16:14 +03:00
rustup
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
e19ca1d946269f7b7eb13171531caf2e16f42076
|
||||
a7f375789bab1a4e4a291c963081a8ca7d2b6bd7
|
||||
|
||||
@@ -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),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user