File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1- import subprocess
21import os
32import shlex
4- import sys
3+ import subprocess
54from pathlib import Path
65from typing import Dict , List , Tuple
7- import importlib
8-
96
107# shlex.split() splits according to shell quoting rules
118WASMTIME = shlex .split (os .getenv ("WASMTIME" , "wasmtime" ))
@@ -55,7 +52,7 @@ def compute_argv(test_path: str,
5552# options, so that the user can override our choices.
5653def _add_wasi_version_options (argv : List [str ], wasi_version : str , proposals : List [str ]) -> None :
5754 splice_pos = len (WASMTIME )
58- while splice_pos > 1 and args [splice_pos - 1 ].startswith ("-" ):
55+ while splice_pos > 1 and argv [splice_pos - 1 ].startswith ("-" ):
5956 splice_pos -= 1
6057 match wasi_version :
6158 case "wasm32-wasip1" :
You can’t perform that action at this time.
0 commit comments