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:
457
457
_configuration : Release
458
458
_testKind : testFSharpQA
459
459
transparentCompiler :
460
+ FSHARP_CACHE_OVERRIDE : 256
460
461
vs_release :
461
462
_configuration : Release
462
463
_testKind : testVs
463
464
setupVsHive : true
464
465
transparentCompiler :
466
+ FSHARP_CACHE_OVERRIDE : 256
465
467
transparent_compiler_release :
466
468
_configuration : Release
467
469
_testKind : testCoreclr
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ type LanguageVersion(versionText) =
224
224
225
225
// F# preview
226
226
LanguageFeature.EnforceAttributeTargets, previewVersion // Not enabled due to a number of external library dependencies on unenforced attributes
227
- LanguageFeature.UseTypeSubsumptionCache, previewVersion
227
+ LanguageFeature.UseTypeSubsumptionCache, languageVersion90
228
228
LanguageFeature.UnmanagedConstraintCsharpInterop, previewVersion // not enabled because: https://github.com/dotnet/fsharp/issues/17509
229
229
LanguageFeature.FromEndSlicing, previewVersion // Unfinished features --- needs work
230
230
LanguageFeature.AllowAccessModifiersToAutoPropertiesGettersAndSetters, previewVersion
Original file line number Diff line number Diff line change @@ -162,11 +162,11 @@ module Cache =
162
162
163
163
/// Use for testing purposes to reduce memory consumption in testhost and its subprocesses.
164
164
let OverrideCapacityForTesting () =
165
- Environment.SetEnvironmentVariable( overrideVariable, " true " , EnvironmentVariableTarget.Process)
165
+ Environment.SetEnvironmentVariable( overrideVariable, " 4096 " , EnvironmentVariableTarget.Process)
166
166
167
167
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
170
170
| _ -> capacity
171
171
172
172
[<Struct>]
You can’t perform that action at this time.
0 commit comments