[−][src]Struct c2rust_transpile::TranspilerConfig
Configuration settings for the translation process
Fields
dump_untyped_context: bool
dump_typed_context: bool
pretty_typed_context: bool
dump_function_cfgs: bool
json_function_cfgs: bool
dump_cfg_liveness: bool
dump_structures: bool
incremental_relooper: bool
fail_on_multiple: bool
filter: Option<Regex>
debug_relooper_labels: bool
cross_checks: bool
cross_check_backend: String
cross_check_configs: Vec<String>
prefix_function_names: Option<String>
translate_asm: bool
use_c_loop_info: bool
use_c_multiple_info: bool
simplify_structures: bool
panic_on_translator_failure: bool
emit_modules: bool
fail_on_error: bool
replace_unsupported_decls: ReplaceMode
translate_valist: bool
overwrite_existing: bool
reduce_type_annotations: bool
reorganize_definitions: bool
enabled_warnings: HashSet<Diagnostic>
emit_no_std: bool
output_dir: Option<PathBuf>
verbose: bool
emit_build_files: bool
Emit Cargo.toml
and one of main.rs
, lib.rs
main: Option<String>
Names the translation unit containing the main function
Trait Implementations
Auto Trait Implementations
impl Send for TranspilerConfig
impl Sync for TranspilerConfig
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<E> SpecializationError for E
[src]
default fn not_found<S, T>(
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
[src]
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
impl<T> Erased for T
[src]
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Make for T
[src]
impl<T> MaybeResult for T
[src]
impl<'a, T> Captures for T where
T: ?Sized,
[src]
T: ?Sized,