Generate node.js require directives for --nodejs

This commit is contained in:
Alex Crichton
2018-03-29 01:47:44 -07:00
parent 67737a2661
commit a0bfb8103b
6 changed files with 148 additions and 31 deletions

View File

@ -3,7 +3,6 @@ extern crate test_support;
#[test]
fn works() {
test_support::project()
.detect_node(true)
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section)]