Stream: git-wasmtime

Topic: wasmtime / issue #3057 Implement Display for settings::Value


view this post on Zulip Wasmtime GitHub notifications bot (Jul 03 2021 at 12:38):

bjorn3 commented on issue #3057:

With this writing TargetIsa to a clif file can be done using:

for flag in isa.flags().iter() {
    writeln!(file, "set {}", flag)?; // FIXME hide default flags
}
write!(file, "target {}", isa.triple().architecture.to_string())?;
for isa_flag in isa.isa_flags().iter() {
    write!(file, " {}", isa_flag)?;
}
writeln!(file, "\n")?;

view this post on Zulip Wasmtime GitHub notifications bot (Jul 03 2021 at 12:38):

bjorn3 edited a comment on issue #3057:

With this writing TargetIsa to a clif file can be done using:

for flag in isa.flags().iter() {
    writeln!(file, "set {}", flag)?;
}
write!(file, "target {}", isa.triple().architecture.to_string())?;
for isa_flag in isa.isa_flags().iter() {
    write!(file, " {}", isa_flag)?;
}
writeln!(file, "\n")?;


Last updated: Dec 23 2024 at 13:07 UTC