Skip to content

Commit

Permalink
Add support for UEFI targets and OS (#2142)
Browse files Browse the repository at this point in the history
Requires bazelbuild/platforms#76

---------

Co-authored-by: Tim Windelschmidt <[email protected]>
  • Loading branch information
lorenz and fionera authored Jan 10, 2025
1 parent f86e01b commit c241ed0
Show file tree
Hide file tree
Showing 70 changed files with 455 additions and 25 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bazel_dep(
)
bazel_dep(
name = "platforms",
version = "0.0.10",
version = "0.0.11",
)
bazel_dep(
name = "rules_cc",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "ace0c0b869c5c1d4bc847c715847ccbb10aef7e29c42c0beedd81914706f75f3",
"checksum": "fa0ae8b895fdd90c3f81936026265bbf710205a4cda7c31b79350a2ec78bf694",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -141,6 +141,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -215,6 +218,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "b698014827b678ed74bf7f4d3d0a69b37de257d4a3aec2897623a7bd6e4a9285",
"checksum": "c4512c2cc5fc64aa43267111ac33781a881a3133145bc9489b588dc226f2c86a",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -142,6 +142,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -216,6 +219,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "33d16f45aaee6f2a68ab62288b65e8efebac37d9eaa5c07b0316f2f647c16415",
"checksum": "3619a2ef12565b9608c101cca181dccd8173fe758db0d3ca12ef74165d4cb930",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -141,6 +141,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -215,6 +218,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "e7006bf7c442ae12ef672bac57e50e07306e47c74aa42728f64736fb94cbd9ce",
"checksum": "766eeaf55e0464082a898706c8bcbd9d17a51faceb48c169c90cb79fe525264e",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -142,6 +142,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -216,6 +219,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "2e41423e2ad845fc8e0e2062bb28e3ea5a76d50126a16b8d1ec42de31067c577",
"checksum": "b1f24d7341b73558423457575e0ede49343254941fbbc24208832981dfcee69d",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -142,6 +142,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -216,6 +219,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "c539f2a042f03ed5f542459d132d375d6e68054980c6b5ca20aa07e4b7740bee",
"checksum": "954bda6fcec493d073bb33c563a904619a5e1c2260feff97dc1322e3c8d125c5",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -142,6 +142,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -216,6 +219,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "b105763002202c11c744b0baccb9d97829d8b197b43fa8d6fb10c66eae797b6c",
"checksum": "c990c6ab0faeda6c4aa712f18cf913c1f764d06d28cc2bdd8af8eeef53d670bd",
"crates": {
"direct-cargo-bazel-deps 0.0.1": {
"name": "direct-cargo-bazel-deps",
Expand Down Expand Up @@ -141,6 +141,9 @@
"aarch64-unknown-nto-qnx710": [
"aarch64-unknown-nto-qnx710"
],
"aarch64-unknown-uefi": [
"aarch64-unknown-uefi"
],
"arm-unknown-linux-gnueabi": [
"arm-unknown-linux-gnueabi"
],
Expand Down Expand Up @@ -215,6 +218,9 @@
],
"x86_64-unknown-none": [
"x86_64-unknown-none"
],
"x86_64-unknown-uefi": [
"x86_64-unknown-uefi"
]
},
"direct_deps": [
Expand Down
8 changes: 7 additions & 1 deletion examples/crate_universe/cargo_aliases/cargo-bazel-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions examples/crate_universe/cargo_workspace/cargo-bazel-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c241ed0

Please sign in to comment.