Skip to content

Commit

Permalink
Build oak_sev_guest and sev_serial with Bazel
Browse files Browse the repository at this point in the history
Change-Id: Iee7c8d75aff667b8f1db68883091216d94230a7a
  • Loading branch information
ernoc committed Apr 9, 2024
1 parent 683ecc3 commit 60435b9
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 1 deletion.
47 changes: 47 additions & 0 deletions Cargo.bazel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"

[[package]]
name = "bit_field"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61"

[[package]]
name = "bitflags"
version = "2.5.0"
Expand Down Expand Up @@ -349,11 +355,13 @@ dependencies = [
"serde",
"serde_json",
"sha2",
"snafu",
"spinning_top",
"static_assertions",
"strum",
"time",
"x509-cert",
"x86_64",
"zerocopy",
"zeroize",
]
Expand Down Expand Up @@ -1132,6 +1140,27 @@ version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"

[[package]]
name = "snafu"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75976f4748ab44f6e5332102be424e7c2dc18daeaf7e725f2040c3ebb133512e"
dependencies = [
"snafu-derive",
]

[[package]]
name = "snafu-derive"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4b19911debfb8c2fb1107bc6cb2d61868aaf53a988449213959bb1b5b1ed95f"
dependencies = [
"heck",
"proc-macro2",
"quote",
"syn",
]

[[package]]
name = "spin"
version = "0.5.2"
Expand Down Expand Up @@ -1272,6 +1301,12 @@ version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"

[[package]]
name = "volatile"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "442887c63f2c839b346c192d047a7c87e73d0689c9157b00b53dcc27dd5ea793"

[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
Expand Down Expand Up @@ -1377,6 +1412,18 @@ dependencies = [
"spki",
]

[[package]]
name = "x86_64"
version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4bc79523af8abf92fb1a970c3e086c5a343f6bcc1a0eb890f575cbb3b45743df"
dependencies = [
"bit_field",
"bitflags",
"rustversion",
"volatile",
]

[[package]]
name = "zerocopy"
version = "0.7.32"
Expand Down
2 changes: 2 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ crates_repository(
default_features = False,
version = "*",
),
"snafu": crate.spec(version = "*"),
"spinning_top": crate.spec(version = "*"),
"static_assertions": crate.spec(version = "*"),
"strum": crate.spec(
Expand All @@ -474,6 +475,7 @@ crates_repository(
features = ["pem"],
version = "0.2.5",
),
"x86_64": crate.spec(version = "*"),
"zerocopy": crate.spec(
default_features = False,
features = ["derive"],
Expand Down
Loading

0 comments on commit 60435b9

Please sign in to comment.