diff --git a/test/BUILD.gn b/test/BUILD.gn index b7be62bb4ba17f64ce7fbff295ebee578954ad67..d3b9494911501651fb0a59b01e4751101af31ca0 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -49,9 +49,7 @@ ohos_rust_systemtest("rust_ylong_runtime_test_sdv") { "--cfg=feature=\"fs\"", "--cfg=feature=\"macros\"", "--cfg=feature=\"net\"", - "--cfg=feature=\"process\"", "--cfg=feature=\"sync\"", - "--cfg=feature=\"signal\"", "--cfg=feature=\"time\"", ] diff --git a/ylong_runtime/BUILD.gn b/ylong_runtime/BUILD.gn index eca88bda39e01a082b5d925ead882e9e7e0c4445..b45045e90a17cb94cfba3f7e9dcf7f4bed9873ed 100644 --- a/ylong_runtime/BUILD.gn +++ b/ylong_runtime/BUILD.gn @@ -24,8 +24,6 @@ ohos_rust_shared_library("ylong_runtime") { "fs", "macros", "net", - "process", - "signal", "sync", "time", ] @@ -34,7 +32,6 @@ ohos_rust_shared_library("ylong_runtime") { deps = [ "../ylong_io:ylong_io", "../ylong_runtime_macros:ylong_runtime_macros(${host_toolchain})", - "../ylong_signal:ylong_signal", ] if (defined(global_parts_info) && @@ -56,8 +53,6 @@ ohos_rust_static_library("ylong_runtime_static") { "fs", "macros", "net", - "process", - "signal", "sync", "time", ] @@ -66,7 +61,6 @@ ohos_rust_static_library("ylong_runtime_static") { deps = [ "../ylong_io:ylong_io", "../ylong_runtime_macros:ylong_runtime_macros(${host_toolchain})", - "../ylong_signal:ylong_signal", ] if (defined(global_parts_info) && diff --git a/ylong_runtime/tests/entry.rs b/ylong_runtime/tests/entry.rs index 5eea605dda7e6d9ab429a7815a295bcdbdec2ecb..13821895d7919759fcb5067c27f720dd082bea45 100644 --- a/ylong_runtime/tests/entry.rs +++ b/ylong_runtime/tests/entry.rs @@ -28,7 +28,9 @@ mod join_set; mod mpsc_test; mod mutex; mod par_iter; +#[cfg(feature = "process")] mod process; +#[cfg(feature = "process")] mod pty_process; mod select; mod semaphore_test;