mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -05:00
2874664e91
This is a first pass implementation which is still missing several important features: - support for --inspect-brk (#4503) - support for source maps (#4501) - support for piping console.log to devtools console (#4502) Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Matt Harrison <mt.harrison86@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
46 lines
854 B
Rust
46 lines
854 B
Rust
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
|
|
|
#[macro_use]
|
|
extern crate downcast_rs;
|
|
extern crate futures;
|
|
#[macro_use]
|
|
extern crate lazy_static;
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
mod any_error;
|
|
mod bindings;
|
|
mod es_isolate;
|
|
mod flags;
|
|
mod isolate;
|
|
mod js_errors;
|
|
mod module_specifier;
|
|
mod modules;
|
|
mod ops;
|
|
mod plugins;
|
|
mod resources;
|
|
mod shared_queue;
|
|
|
|
pub use rusty_v8 as v8;
|
|
|
|
pub use crate::any_error::*;
|
|
pub use crate::es_isolate::*;
|
|
pub use crate::flags::v8_set_flags;
|
|
pub use crate::isolate::*;
|
|
pub use crate::js_errors::*;
|
|
pub use crate::module_specifier::*;
|
|
pub use crate::modules::*;
|
|
pub use crate::ops::*;
|
|
pub use crate::plugins::*;
|
|
pub use crate::resources::*;
|
|
|
|
pub fn v8_version() -> &'static str {
|
|
v8::V8::get_version()
|
|
}
|
|
|
|
#[test]
|
|
fn test_v8_version() {
|
|
assert!(v8_version().len() > 3);
|
|
}
|
|
|
|
crate_modules!();
|