Skip to content

Commit f3fac2f

Browse files
committed
Remove System.Runtime.CompilerServices.Unsafe.dll from unity profiles
To avoid potential conflicts with user provided versions of this dll we are removing it from the jit and aot profiles.
1 parent 72a891b commit f3fac2f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mcs/class/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,9 @@ xbuild_12_SUBDIRS := $(xbuild_4_0_dirs)
439439
xbuild_14_SUBDIRS := $(xbuild_4_0_dirs) Microsoft.NuGet.Build.Tasks
440440

441441
unityjit_SUBDIRS := $(net_4_x_dirs)
442-
# TODO: Probably don't want ALL the net_4_x stuff here. Revisit.
443-
unityjit_PARALLEL_SUBDIRS := $(filter-out Mono.Cecil Mono.Cecil.Mdb Mono.Debugger.Soft Mono.CodeContracts,$(net_4_x_parallel_dirs))
442+
unityjit_PARALLEL_SUBDIRS := $(filter-out Mono.Cecil Mono.Cecil.Mdb Mono.Debugger.Soft Mono.CodeContracts System.Runtime.CompilerServices.Unsafe,$(net_4_x_parallel_dirs))
444443
unityaot_SUBDIRS := $(mobile_common_dirs)
445-
unityaot_PARALLEL_SUBDIRS := $(unityaot_dirs_parallel)
444+
unityaot_PARALLEL_SUBDIRS := $(filter-out System.Runtime.CompilerServices.Unsafe,$(unityaot_dirs_parallel))
446445

447446
winaot_SUBDIRS := $(mobile_common_dirs)
448447
winaot_PARALLEL_SUBDIRS := $(winaot_dirs_parallel)

0 commit comments

Comments
 (0)