We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d120905 commit 8531fa7Copy full SHA for 8531fa7
tests/test-components/build.rs
@@ -25,9 +25,15 @@ fn main() {
25
for package in packages {
26
let crate_path = PathBuf::from("components").join(&package);
27
let manifest_path = crate_path.join("Cargo.toml");
28
+ if !manifest_path.exists() {
29
+ eprintln!("No Cargo.toml in {crate_path:?}; skipping");
30
+ continue;
31
+ }
32
let manifest = cargo_toml::Manifest::from_path(&manifest_path)
33
.expect("failed to read and parse Cargo manifest");
34
35
+ eprintln!("Building test component {:?}", manifest.package().name());
36
+
37
// Build the test component
38
let mut cargo = Command::new("cargo");
39
cargo
tests/test-components/components/Cargo.toml
@@ -1,3 +1,4 @@
1
[workspace]
2
members = ["*"]
3
+exclude = ["target"]
4
resolver = "2"
0 commit comments