From 672c00d5bf02de2a714bd7caa3604874d3a72211 Mon Sep 17 00:00:00 2001 From: Cassie Jones Date: Sat, 6 Feb 2021 22:52:06 -0500 Subject: [PATCH] [NFC] Formatting --- rt/src/int.rs | 4 +++- src/main.rs | 7 +------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/rt/src/int.rs b/rt/src/int.rs index afe2f00..11afbcb 100644 --- a/rt/src/int.rs +++ b/rt/src/int.rs @@ -25,5 +25,7 @@ pub unsafe extern "C" fn ivy_check_int(obj: Obj) { #[no_mangle] pub unsafe extern "C" fn ivy_make_int(value: i64) -> Obj { // @TODO: Handle 64 bit values rather than 63 bit integers - Obj { int: value << 1 | 1 } + Obj { + int: value << 1 | 1, + } } diff --git a/src/main.rs b/src/main.rs index 4d53c52..2ea4670 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,12 +95,7 @@ fn main() -> io::Result<()> { let mut file = tempfile::Builder::new().suffix(".s").tempfile()?; trans::x64::write_compile(&builtins, &mut file, &code)?; Command::new("clang") - .args(&[ - "-masm=intel", - "-nostartfiles", - "-livy_rt", - "-Wl,-e,_start", - ]) + .args(&["-masm=intel", "-nostartfiles", "-livy_rt", "-Wl,-e,_start"]) .arg(file.path()) .arg("-o") .arg(opt.output.unwrap_or_else(|| "a.out".into())) -- 2.47.0