(runtime_dir: &Path, name: &str)
| 772 | } |
| 773 | |
| 774 | fn linked_runtime(runtime_dir: &Path, name: &str) -> ResolvedRuntime { |
| 775 | ResolvedRuntime { |
| 776 | source: RuntimeSelectorSource::Explicit, |
| 777 | selector: RuntimeSelector::LinkedName(name.to_string()), |
| 778 | target: ResolvedRuntimeTarget::LinkedPath { |
| 779 | name: name.to_string(), |
| 780 | path: runtime_dir.to_path_buf(), |
| 781 | }, |
| 782 | } |
| 783 | } |
| 784 | |
| 785 | fn os_args(values: &[&str]) -> Vec<OsString> { |
| 786 | values.iter().map(OsString::from).collect() |
no outgoing calls