Skip to content

Commit

Permalink
Merge pull request #510 from mstange/push-srwvulskutnq
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
mstange authored Mar 3, 2025
2 parents a9633d1 + 044e698 commit 19a42cc
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 69 deletions.
94 changes: 77 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions samply-symbols/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ pdb-addr2line = "0.11.0"
uuid = "1"
thiserror = "2"
cpp_demangle = "0.4.0"
msvc-demangler = "0.10.1"
msvc-demangler = "0.11"
rustc-demangle = "0.1.24"
scala-native-demangle = "0.0.6"
bitflags = "2"
bytesize = { version = "1.0.1", optional = true }
bytesize = { version = "2", optional = true }
bitvec = { version = "1.0.0", optional = true }
rangemap = "1.5.1"
elsa = "1.11.0"
Expand All @@ -50,8 +50,8 @@ lzma-rs = "0.3"
macho-unwind-info = "0.5.0"
debugid = "0.8.0"
flate2 = "1"
yoke = "0.7"
yoke-derive = "0.7"
yoke = "0.8"
yoke-derive = "0.8"
nom = "7.1.1"
zerocopy = "0.8"
zerocopy-derive = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion samply/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ percent-encoding = "2.1.0"
libc = "0.2"
flate2 = "1.0"
opener = { version = "0.7", default-features = false }
rand = "0.8.4"
rand = "0.9"
nix-base32 = "0.2.0"
serde_derive = "1.0.137"
serde = "1.0.204"
Expand Down
2 changes: 1 addition & 1 deletion samply/src/mac/mach_ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl OsIpcReceiver {
let mut os_result;
let mut name;
loop {
name = format!("{}{}", BOOTSTRAP_PREFIX, rand::thread_rng().gen::<i64>());
name = format!("{}{}", BOOTSTRAP_PREFIX, rand::rng().random::<i64>());
let c_name = CString::new(name.clone()).unwrap();
os_result = bootstrap_register2(bootstrap_port, c_name.as_ptr(), right, 0);
if os_result == BOOTSTRAP_NAME_IN_USE as c_int {
Expand Down
2 changes: 1 addition & 1 deletion samply/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async fn start_server(
// Returns a base32 string for 24 random bytes.
fn generate_token() -> String {
let mut bytes = [0u8; 24];
rand::thread_rng().fill_bytes(&mut bytes);
rand::rng().fill_bytes(&mut bytes);
nix_base32::to_nix_base32(&bytes)
}

Expand Down
Loading

0 comments on commit 19a42cc

Please sign in to comment.