Add wasm support (#2199)

* Working towards a PoC for wasm

* Move bson and sqlite to plugins

* proof of concept now working

* tests are green

* Add CI test for --no-default-features

* Fix some tests

* Fix clippy and windows build

* More fixes

* Fix the windows build

* Fix the windows test
This commit is contained in:
Jonathan Turner
2020-07-18 13:59:23 +12:00
committed by GitHub
parent dbe0effd67
commit d8594a62c2
59 changed files with 781 additions and 448 deletions

View File

@ -1,5 +1,6 @@
use nu_test_support::nu;
#[cfg(feature = "which")]
#[test]
fn shows_error_for_command_not_found() {
let actual = nu!(
@ -10,6 +11,7 @@ fn shows_error_for_command_not_found() {
assert!(actual.err.contains("Command not found"));
}
#[cfg(feature = "which")]
#[test]
fn shows_error_for_command_not_found_in_pipeline() {
let actual = nu!(
@ -20,6 +22,7 @@ fn shows_error_for_command_not_found_in_pipeline() {
assert!(actual.err.contains("Command not found"));
}
#[cfg(feature = "which")]
#[test]
fn automatically_change_directory() {
use nu_test_support::playground::Playground;