use RunOpts more uniformly

Summary: These previous launch_* functions can be simplified by using RunOpts to contain all the relevant information about a run, plus everything needed to print a reproducer command.

Reviewed By: VladimirMakaev

Differential Revision: D41329114

fbshipit-source-id: 5bab08dfbf28e1cee7fd244178e03ba2cdc1ba34
This commit is contained in:
Ryan Newton 2022-11-16 07:01:14 -08:00 committed by Facebook GitHub Bot
parent 81ca16a694
commit d7e9901f53

View file

@ -40,11 +40,11 @@ pub struct Mount {
pub struct Bind {
/// The source path of the bind mount. This path must exist. It can be either
/// a file or directory.
source: CString,
pub source: CString,
/// The target of the bind mount. This does not need to exist and can be
/// created when performing the bind mount.
target: CString,
pub target: CString,
}
impl Mount {