test_fork_core/lib.rs
1// Copyright (C) 2025-2026 Daniel Mueller <deso@posteo.net>
2// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3
4//-
5// Copyright 2018 Jason Lingle
6//
7// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
8// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10// option. This file may not be copied, modified, or distributed
11// except according to those terms.
12
13//! Supporting crate for `test-fork`.
14
15#![doc(hidden)]
16
17#[macro_use]
18mod sugar;
19#[macro_use]
20mod fork_test;
21mod cmdline;
22mod error;
23mod fork;
24mod procmac;
25
26pub use crate::fork::fork;
27pub use crate::fork::fork_in_out;
28pub use crate::fork::run_should_panic;
29pub use crate::fork_test::fix_module_path;
30pub use crate::sugar::ForkId;
31
32pub use crate::procmac::try_bench;
33pub use crate::procmac::try_fork;
34pub use crate::procmac::try_test;