Skip to content

Commit 5df40b7

Browse files
committed
Extremely interim commit
Signed-off-by: itowlson <[email protected]>
1 parent 3563a1b commit 5df40b7

File tree

6 files changed

+707
-139
lines changed

6 files changed

+707
-139
lines changed

Cargo.lock

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

crates/build/src/manifest.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use spin_manifest::{schema::v2, ManifestVersion};
88
pub enum ManifestBuildInfo {
99
Loadable {
1010
components: Vec<ComponentBuildInfo>,
11-
deployment_targets: Vec<spin_manifest::schema::v2::TargetEnvironmentRef>,
11+
deployment_targets: Vec<spin_manifest::schema::v2::TargetEnvironmentRef2>,
1212
manifest: spin_manifest::schema::v2::AppManifest,
1313
},
1414
Unloadable {
@@ -33,7 +33,7 @@ impl ManifestBuildInfo {
3333
}
3434
}
3535

36-
pub fn deployment_targets(&self) -> &[spin_manifest::schema::v2::TargetEnvironmentRef] {
36+
pub fn deployment_targets(&self) -> &[spin_manifest::schema::v2::TargetEnvironmentRef2] {
3737
match self {
3838
Self::Loadable {
3939
deployment_targets, ..
@@ -114,7 +114,7 @@ fn build_configs_from_manifest(
114114

115115
fn deployment_targets_from_manifest(
116116
manifest: &spin_manifest::schema::v2::AppManifest,
117-
) -> Vec<spin_manifest::schema::v2::TargetEnvironmentRef> {
117+
) -> Vec<spin_manifest::schema::v2::TargetEnvironmentRef2> {
118118
manifest.application.targets.clone()
119119
}
120120

crates/environments/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ spin-compose = { path = "../compose" }
2222
spin-loader = { path = "../loader" }
2323
spin-manifest = { path = "../manifest" }
2424
spin-serde = { path = "../serde" }
25+
toml = { workspace = true }
2526
tokio = { version = "1.23", features = ["fs"] }
2627
tracing = { workspace = true }
2728
wac-parser = "0.6.0"
2829
wac-resolver = "0.6.0"
2930
wac-types = "0.6.0"
3031
wasm-pkg-client = { workspace = true }
32+
wasmparser = { workspace = true }
3133
wit-component = { workspace = true }
3234
wit-parser = { workspace = true }
3335

0 commit comments

Comments
 (0)