Struct rustc::session::config::OutputFilenames
[−]
[src]
pub struct OutputFilenames { pub out_directory: PathBuf, pub out_filestem: String, pub single_output_file: Option<PathBuf>, pub extra: String, pub outputs: OutputTypes, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
out_directory: PathBuf
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
out_filestem: String
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
single_output_file: Option<PathBuf>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
extra: String
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
outputs: OutputTypes
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl OutputFilenames
[src]
impl OutputFilenames
pub fn path(&self, flavor: OutputType) -> PathBuf
[src]
pub fn path(&self, flavor: OutputType) -> PathBuf
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn temp_path(
&self,
flavor: OutputType,
codegen_unit_name: Option<&str>
) -> PathBuf
[src]
pub fn temp_path(
&self,
flavor: OutputType,
codegen_unit_name: Option<&str>
) -> PathBuf
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Get the path where a compilation artifact of the given type for the given codegen unit should be placed on disk. If codegen_unit_name is None, a path distinct from those of any codegen unit will be generated.
pub fn temp_path_ext(
&self,
ext: &str,
codegen_unit_name: Option<&str>
) -> PathBuf
[src]
pub fn temp_path_ext(
&self,
ext: &str,
codegen_unit_name: Option<&str>
) -> PathBuf
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Like temp_path, but also supports things where there is no corresponding OutputType, like no-opt-bitcode or lto-bitcode.
pub fn with_extension(&self, extension: &str) -> PathBuf
[src]
pub fn with_extension(&self, extension: &str) -> PathBuf
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn filestem(&self) -> String
[src]
pub fn filestem(&self) -> String
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Clone for OutputFilenames
[src]
impl Clone for OutputFilenames
fn clone(&self) -> OutputFilenames
[src]
fn clone(&self) -> OutputFilenames
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OutputFilenames
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OutputFilenames
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl Send for OutputFilenames
impl Send for OutputFilenames
impl Sync for OutputFilenames
impl Sync for OutputFilenames