diff --git a/tools/cargo_package.py b/tools/cargo_package.py index fe4ebcc1ed..152685d6bb 100755 --- a/tools/cargo_package.py +++ b/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()