• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2023 The ChromiumOS Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 mod config;
6 #[cfg(unix)]
7 mod helpers;
8 
9 pub use crate::config::JailConfig;
10 #[cfg(unix)]
11 pub use crate::helpers::*;
12 
13 // TODO(b/268407006): We define Minijail as an empty struct as a stub for minijail::Minijail on
14 // Windows because the concept of jailing is baked into a bunch of places where it isn't easy to
15 // compile it out. In the long term, this should go away.
16 #[cfg(windows)]
17 pub struct FakeMinijailStub {}
18