-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[antlir2][isolate] break into a few separate crates
Summary: I'm about to add some code to this crate and refactor the public interface to enable unprivileged image builds. Breaking `antlir2_isolate` into a number of crates instead of modules within the same crate will make that refactoring a little cleaner. Test Plan: waitforsandcastle Reviewed By: epilatow Differential Revision: D49646479 fbshipit-source-id: e8f2d16d498b73e09763a6fdefb5c1ffb231e54c
- Loading branch information
1 parent
24c697d
commit 271cb9f
Showing
12 changed files
with
530 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
load("//antlir/bzl:build_defs.bzl", "rust_library") | ||
|
||
oncall("twimage") | ||
|
||
rust_library( | ||
name = "isolate_bwrap", | ||
srcs = glob(["src/**/*.rs"]), | ||
visibility = ["//antlir/antlir2/antlir2_isolate:"], | ||
deps = [ | ||
"nix", | ||
"thiserror", | ||
"tracing", | ||
"uuid", | ||
"//antlir/antlir2/antlir2_btrfs:antlir2_btrfs", | ||
"//antlir/antlir2/antlir2_isolate/isolate_cfg:isolate_cfg", | ||
"//antlir/antlir2/antlir2_rootless:antlir2_rootless", | ||
], | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
load("//antlir/bzl:build_defs.bzl", "rust_library") | ||
|
||
oncall("twimage") | ||
|
||
rust_library( | ||
name = "isolate_cfg", | ||
srcs = glob(["src/**/*.rs"]), | ||
visibility = ["//antlir/antlir2/antlir2_isolate/..."], | ||
deps = [ | ||
"serde", | ||
], | ||
) |
Oops, something went wrong.