Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rs/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ media-features:
# Run the test suite and enforce clippy findings from the same compile.
[positional-arguments]
test *args:
CARGO_BUILD_WARNINGS=deny RUSTC_WORKSPACE_WRAPPER={{ require("clippy-driver") }} bash sh/rs/nextest.sh cargo nextest run --locked --all-targets "$@"
CARGO_BUILD_WARNINGS=deny RUSTC_WORKSPACE_WRAPPER={{ quote(require("clippy-driver")) }} bash sh/rs/nextest.sh cargo nextest run --locked --all-targets "$@"

# Exercise the ignored hardware tests for every GPU vendor on this Linux host.
gpu:
Expand Down
2 changes: 2 additions & 0 deletions rs/moq-tokio/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1878,11 +1878,13 @@ mod tests {
}

/// A millisecond track: the frames written here carry timestamps.
#[cfg(all(feature = "uds", unix))]
fn timed() -> moq_net::track::Info {
moq_net::track::Info::default().with_timescale(moq_net::Timescale::MILLI)
}

/// The next route and whether it is active.
#[cfg(all(feature = "uds", unix))]
async fn next_update(announced: &mut moq_net::announce::Consumer) -> Option<(moq_net::announce::Announce, bool)> {
match announced.next().await? {
moq_net::announce::Event::Start(route)
Expand Down
7 changes: 4 additions & 3 deletions rs/moq-tokio/src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ pub enum Error {
key: PathBuf,
/// Path of the certificate file it was paired with.
cert: PathBuf,
/// Why rustls says the two don't match.
/// Why rustls says the two don't match. Boxed since the paths are
/// larger on Windows, where unboxed it trips clippy's `result_large_err`.
#[source]
source: rustls::Error,
source: Box<rustls::Error>,
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
},

/// A rustls error with no more specific context, e.g. building a config.
Expand Down Expand Up @@ -3072,7 +3073,7 @@ impl ServeCerts {
certified.rustls.keys_match().map_err(|source| Error::KeyMismatch {
key: key_path.to_path_buf(),
cert: chain_path.to_path_buf(),
source,
source: Box::new(source),
})?;

Ok(certified)
Expand Down
2 changes: 1 addition & 1 deletion test/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set working-directory := '.'

# List the cross-language suites.
default:
@just --justfile {{ justfile() }} --list test
@just --justfile {{ quote(justfile()) }} --list test

# Port isolation across private temp roots and keyboard activation under a canvas.
# The browser check is not `*.test.ts`: plain `bun test` runs lack Playwright Chromium,
Expand Down
Loading