Add sync feature to make Dynamic, Scope and AST Send + Sync.

This commit is contained in:
Stephen Chung
2020-04-02 19:40:02 +08:00
parent 2c86abc58c
commit 0873bdc152
4 changed files with 56 additions and 14 deletions

View File

@@ -32,6 +32,7 @@ no_optimize = [] # no script optimizer
optimize_full = [] # set optimization level to Full (default is Simple) - this is a feature used only to simplify testing
only_i32 = [] # set INT=i32 (useful for 32-bit systems)
only_i64 = [] # set INT=i64 (default) and disable support for all other integer types
sync = [] # restrict to only types that implement Send + Sync
# compiling for no-std
no_std = [ "num-traits/libm", "hashbrown", "core-error", "libm" ]