summaryrefslogtreecommitdiff
path: root/src/version.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.rs')
-rw-r--r--src/version.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/version.rs b/src/version.rs
index 890b4d152..f40687770 100644
--- a/src/version.rs
+++ b/src/version.rs
@@ -1,12 +1,12 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
-use binding;
+use libdeno;
use std::ffi::CStr;
// This is the source of truth for the Deno version. Ignore the value in Cargo.toml.
const DENO_VERSION: &str = "0.1.2";
pub fn print_version() {
- let v = unsafe { binding::deno_v8_version() };
+ let v = unsafe { libdeno::deno_v8_version() };
let c_str = unsafe { CStr::from_ptr(v) };
let version = c_str.to_str().unwrap();
println!("deno: {}", DENO_VERSION);