Fix tools/cargo_package.py
@@ -49,7 +49,10 @@ version = get_version(cargo_toml_path)
def main():
os.chdir(root_path)
- run(["tools/build.py", "libdeno_static_lib", "--release"])
+ run([
+ "cargo", "build", "-vv", "--manifest-path", cargo_toml_path, "--lib",
+ "--release", "--locked"
+ ])
assert (os.path.exists(lib_name))
root_temp = mkdtemp()
