| { | ||
| "git": { | ||
| "sha1": "90600f141fa682980bc0f915b57502061e6923be" | ||
| "sha1": "050b7f5354800d7d3058bb585346eb3ea90271f8" | ||
| }, | ||
| "path_in_vcs": "" | ||
| } |
+3
-3
@@ -90,3 +90,3 @@ # This file is automatically @generated by Cargo. | ||
| name = "zerocopy" | ||
| version = "0.8.42" | ||
| version = "0.8.43" | ||
| dependencies = [ | ||
@@ -103,5 +103,5 @@ "elain", | ||
| name = "zerocopy-derive" | ||
| version = "0.8.42" | ||
| version = "0.8.43" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "7e6cc098ea4d3bd6246687de65af3f920c430e236bee1e3bf2e441463f08a02f" | ||
| checksum = "5c9bd50f0704c71beabedc54ba03b130d5fb86d64867a90d14ed3ae391afae22" | ||
| dependencies = [ | ||
@@ -108,0 +108,0 @@ "proc-macro2", |
+4
-4
@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| name = "zerocopy" | ||
| version = "0.8.42" | ||
| version = "0.8.43" | ||
| authors = [ | ||
@@ -273,3 +273,3 @@ "Joshua Liebow-Feeser <joshlf@google.com>", | ||
| [dependencies.zerocopy-derive] | ||
| version = "=0.8.42" | ||
| version = "=0.8.43" | ||
| optional = true | ||
@@ -295,5 +295,5 @@ | ||
| [dev-dependencies.zerocopy-derive] | ||
| version = "=0.8.42" | ||
| version = "=0.8.43" | ||
| [target."cfg(any())".dependencies.zerocopy-derive] | ||
| version = "=0.8.42" | ||
| version = "=0.8.43" |
@@ -21,3 +21,3 @@ #!/usr/bin/env bash | ||
| diff \ | ||
| <(cat .github/workflows/ci.yml | yq '.jobs.build_test.strategy.matrix.toolchain | .[]' | \ | ||
| <(yq -r '.jobs.build_test.strategy.matrix.toolchain | .[]' .github/workflows/ci.yml | \ | ||
| sort -u | grep -v '^\(msrv\|stable\|nightly\)$') \ | ||
@@ -24,0 +24,0 @@ <(cargo metadata -q --format-version 1 | \ |
@@ -21,3 +21,3 @@ #!/usr/bin/env bash | ||
| <(yq -r '.jobs | keys | .[]' "$i" | sort | uniq) \ | ||
| <(yq -r '.jobs.all-jobs-succeed.needs[]' "$i" | sort | uniq) | ||
| <(yq -r '.jobs["all-jobs-succeed"].needs[]' "$i" | sort | uniq) | ||
| fi | ||
@@ -24,0 +24,0 @@ |
+20
-9
@@ -11,3 +11,3 @@ // Copyright 2026 The Fuchsia Authors | ||
| use std::{path::PathBuf, process::Command}; | ||
| use std::{panic, path::PathBuf, process::Command, thread}; | ||
@@ -45,2 +45,3 @@ enum Directive { | ||
| "asm", | ||
| "--quiet", | ||
| "-p", | ||
@@ -104,11 +105,21 @@ "zerocopy", | ||
| let bless = std::env::var("BLESS").is_ok(); | ||
| let paths = std::fs::read_dir("benches").unwrap(); | ||
| for path in paths { | ||
| let path = path.unwrap().path(); | ||
| if !path.extension().map(|s| s == "rs").unwrap_or(false) { | ||
| continue; | ||
| } | ||
| let path = path.file_stem().unwrap().to_str().unwrap(); | ||
| run_codegen_test(path, "x86-64", bless); | ||
| let handles: Vec<_> = std::fs::read_dir("benches") | ||
| .unwrap() | ||
| .map(|entry| entry.unwrap().path()) | ||
| .filter(|path| path.extension().is_some_and(|ext| ext == "rs")) | ||
| .map(|path| { | ||
| let bench_name = path.file_stem().unwrap().to_str().unwrap().to_owned(); | ||
| thread::spawn(move || { | ||
| panic::catch_unwind(panic::AssertUnwindSafe(|| { | ||
| run_codegen_test(&bench_name, "x86-64", bless); | ||
| })) | ||
| }) | ||
| }) | ||
| .collect(); | ||
| let failed = handles.into_iter().any(|handle| handle.join().unwrap().is_err()); | ||
| if failed { | ||
| panic!("One or more codegen tests failed. See thread panics above for details."); | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet