Skip to content

Commit

Permalink
Fix tools/cargo_package.py (denoland#2940)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Sep 13, 2019
1 parent f5afadc commit aa7a0f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/cargo_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ def get_version(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()
Expand Down

0 comments on commit aa7a0f4

Please sign in to comment.