Skip to content

Commit fe0988b

Browse files
committed
skip datadescriptor with WASM-TODO
1 parent c701cb7 commit fe0988b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/coreclr/gc/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,11 @@ if(FEATURE_STANDALONE_GC)
148148
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
149149
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/env)
150150

151-
add_definitions(-DGC_DESCRIPTOR)
152-
add_subdirectory(datadescriptor)
151+
# WASM-TODO this doesn't compile at the moment
152+
if (NOT CLR_CMAKE_TARGET_ARCH_WASM)
153+
add_definitions(-DGC_DESCRIPTOR)
154+
add_subdirectory(datadescriptor)
155+
endif(NOT CLR_CMAKE_TARGET_ARCH_WASM)
153156

154157
install_clr(TARGETS clrgc DESTINATIONS . sharedFramework COMPONENT runtime)
155158
if (CLR_CMAKE_TARGET_ARCH_ARM64 OR CLR_CMAKE_TARGET_ARCH_AMD64)

src/coreclr/vm/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,4 +1024,7 @@ if(FEATURE_PERFTRACING)
10241024
add_subdirectory(eventing)
10251025
endif(FEATURE_PERFTRACING)
10261026

1027-
add_subdirectory(datadescriptor)
1027+
# WASM-TODO this doesn't compile at the moment
1028+
if (NOT CLR_CMAKE_TARGET_ARCH_WASM)
1029+
add_subdirectory(datadescriptor)
1030+
endif(NOT CLR_CMAKE_TARGET_ARCH_WASM)

0 commit comments

Comments
 (0)