pub struct ProbeInputs<'a> {
pub scratch: &'a Path,
pub input: &'a CompileInput<'a>,
pub cwd: &'a Path,
}Expand description
What a standard library probe compiles with, besides the probe file.
Fields§
§scratch: &'a PathA directory outside the project to write the probe file in.
input: &'a CompileInput<'a>The compile input for a C++ source: the probe compiles C++, so a C
package’s is made with Lang::Cxx and a C++ edition, or a C
standard switch would be rejected. check is given the build’s and
runs it in check mode, check_tidy compile_commands.json’s and
runs it compiled, as that file plans it; each sets the mode itself,
whatever input.mode says.
cwd: &'a PathWhere the compiler runs: the project root, as for the build, so a
relative path in the project’s flags or include directories means
the same (toolchain.md, “Minimum
compiler versions”).
Trait Implementations§
Source§impl<'a> Clone for ProbeInputs<'a>
impl<'a> Clone for ProbeInputs<'a>
impl<'a> Copy for ProbeInputs<'a>
Auto Trait Implementations§
impl<'a> Forget for ProbeInputs<'a>
impl<'a> Freeze for ProbeInputs<'a>
impl<'a> Move for ProbeInputs<'a>
impl<'a> RefUnwindSafe for ProbeInputs<'a>
impl<'a> Send for ProbeInputs<'a>
impl<'a> Sync for ProbeInputs<'a>where
RawVecInner: Sync,
impl<'a> Unpin for ProbeInputs<'a>
impl<'a> UnsafeUnpin for ProbeInputs<'a>
impl<'a> UnwindSafe for ProbeInputs<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more