Skip to content

Commit b2cdbac

Browse files
committed
Check Rust 1.77
1 parent 3a26455 commit b2cdbac

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Cargo.lock

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ tokio-rustls = "0.25.0"
155155
# tokio-vsock = see: io/zenoh-links/zenoh-link-vsock/Cargo.toml (workspaces does not support platform dependent dependencies)
156156
console-subscriber = "0.2"
157157
typenum = "1.16.0"
158-
uhlc = { version = "0.6.0", default-features = false } # Default features are disabled due to usage in no_std crates
158+
uhlc = { git = "https://github.com/atolab/uhlc-rs.git", branch = "zid", version = "0.6.0", default-features = false } # Default features are disabled due to usage in no_std crates
159159
unzip-n = "0.1.2"
160160
url = "2.3.1"
161161
urlencoding = "2.1.2"

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.72.0"
2+
channel = "1.77.0"

zenoh/src/sample.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ pub struct SourceInfo {
6868
#[test]
6969
#[cfg(feature = "unstable")]
7070
fn source_info_stack_size() {
71-
assert_eq!(std::mem::size_of::<SourceInfo>(), 16 * 2);
71+
assert_eq!(std::mem::size_of::<ZenohId>(), 16);
72+
assert_eq!(std::mem::size_of::<Option<ZenohId>>(), 17);
73+
assert_eq!(std::mem::size_of::<Option<SourceSn>>(), 16);
74+
assert_eq!(std::mem::size_of::<SourceInfo>(), 17 + 16 + 7);
7275
}
7376

7477
#[zenoh_macros::unstable]

0 commit comments

Comments
 (0)