xous: make processes-as-threads a feature flag

The test module uses this feature to avoid having to spawn external
processes. Make this a feature flag since it doesn't make sense for any
other target.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-08-16 12:16:27 +08:00
parent ae97ca4e14
commit b17be29195

View file

@ -31,6 +31,10 @@ logging = ["log"]
# This is being built as part of libstd
rustc-dep-of-std = ['core', 'compiler_builtins/rustc-dep-of-std']
# Processes and threads will all be subthreads. This is useful for kernel
# testing.
processes-as-threads = []
default = ["bit-flags", "xous-macros"]
[target.'cfg(any(windows,unix))'.dependencies]