From fadc573f3cab2c013c358fdc9b87f07c99c537fc Mon Sep 17 00:00:00 2001 From: Asami Doi Date: Fri, 22 Nov 2019 20:20:25 +0900 Subject: [PATCH] Update comments --- src/bin/wasmer.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/wasmer.rs b/src/bin/wasmer.rs index 3c39f35f3ba..51f9d73a528 100644 --- a/src/bin/wasmer.rs +++ b/src/bin/wasmer.rs @@ -492,9 +492,10 @@ fn execute_wasm(options: &mut Run) -> Result<(), String> { None }; - // Update backend when a backend flag is `auto` or no specific value. + // Update backend when a backend flag is `auto` or a default value. // Use a singlepass if it's enable and the file provided is larger - // than 10MiB (10485760 bytes). Otherwise, use a cranelift as a backend. + // than 10MiB (10485760 bytes), or it's enable and the target architecture + // is aarch64. Otherwise, use a cranelift as a backend. if options.backend == Backend::Auto { if Backend::variants().contains(&Backend::Singlepass.to_string()) && (wasm_binary.len() > 10485760 || cfg!(target_arch = "aarch64"))