From 9612c71fbd3c3f182e6fdec274e89e3ece923369 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Tue, 27 Aug 2019 13:23:55 -0700 Subject: [PATCH] Remove calling convention on FunctionRunner test For this test to run on Windows, the explicit calling convention must be removed so that the parser is free to use the host's calling convention. --- cranelift/filetests/src/function_runner.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cranelift/filetests/src/function_runner.rs b/cranelift/filetests/src/function_runner.rs index 1c1272cce7..8837596ed9 100644 --- a/cranelift/filetests/src/function_runner.rs +++ b/cranelift/filetests/src/function_runner.rs @@ -99,7 +99,9 @@ mod test { #[test] fn nop() { let code = String::from( - "function %test() -> b8 system_v { + " + test run + function %test() -> b8 { ebb0: nop v1 = bconst.b8 true