]> git.lizzy.rs Git - rust.git/blobdiff - src/shims/foreign_items/posix/macos.rs
bump Rust; HashMap should now work on macOS even with isolation
[rust.git] / src / shims / foreign_items / posix / macos.rs
index 0bb4710769d977675359d73d55efc5b224c3535f..ee02effecd2c5e4712bf5094772cd6eaace67ddf 100644 (file)
@@ -98,13 +98,6 @@ fn emulate_foreign_item_by_name(
                 this.write_scalar(this.machine.argv.expect("machine must be initialized"), dest)?;
             }
 
-            "SecRandomCopyBytes" => {
-                let len = this.read_scalar(args[1])?.to_machine_usize(this)?;
-                let ptr = this.read_scalar(args[2])?.not_undef()?;
-                this.gen_random(ptr, len)?;
-                this.write_null(dest)?;
-            }
-
             _ => throw_unsup_format!("can't call foreign function: {}", link_name),
         };