File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -457,11 +457,13 @@ stages:
457457 _configuration : Release
458458 _testKind : testFSharpQA
459459 transparentCompiler :
460+ FSHARP_CACHE_OVERRIDE : 256
460461 vs_release :
461462 _configuration : Release
462463 _testKind : testVs
463464 setupVsHive : true
464465 transparentCompiler :
466+ FSHARP_CACHE_OVERRIDE : 256
465467 transparent_compiler_release :
466468 _configuration : Release
467469 _testKind : testCoreclr
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ type LanguageVersion(versionText) =
224224
225225 // F# preview
226226 LanguageFeature.EnforceAttributeTargets, previewVersion // Not enabled due to a number of external library dependencies on unenforced attributes
227- LanguageFeature.UseTypeSubsumptionCache, previewVersion
227+ LanguageFeature.UseTypeSubsumptionCache, languageVersion90
228228 LanguageFeature.UnmanagedConstraintCsharpInterop, previewVersion // not enabled because: https://github.com/dotnet/fsharp/issues/17509
229229 LanguageFeature.FromEndSlicing, previewVersion // Unfinished features --- needs work
230230 LanguageFeature.AllowAccessModifiersToAutoPropertiesGettersAndSetters, previewVersion
Original file line number Diff line number Diff line change @@ -162,11 +162,11 @@ module Cache =
162162
163163 /// Use for testing purposes to reduce memory consumption in testhost and its subprocesses.
164164 let OverrideCapacityForTesting () =
165- Environment.SetEnvironmentVariable( overrideVariable, " true " , EnvironmentVariableTarget.Process)
165+ Environment.SetEnvironmentVariable( overrideVariable, " 4096 " , EnvironmentVariableTarget.Process)
166166
167167 let applyOverride ( capacity : int ) =
168- match Environment.GetEnvironmentVariable( overrideVariable) with
169- | NonNull _ when capacity > 4096 -> 4096
168+ match Int32.TryParse ( Environment.GetEnvironmentVariable( overrideVariable) ) with
169+ | true , n when capacity > n -> n
170170 | _ -> capacity
171171
172172[<Struct>]
You can’t perform that action at this time.
0 commit comments