Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12b1d0b

Browse files
authored
Enable tail calls on Debug build of FSharp.Compiler.Private (dotnet#6025)
* Enable tail calls on Debug build of FSharp.Compiler.Private so we do not crash* Enable tail call for netstandard
1 parent51000fb commit12b1d0b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.-->
33
<ProjectSdk="Microsoft.NET.Sdk">
44

@@ -20,6 +20,14 @@
2020
<DebugType>full</DebugType>
2121
</PropertyGroup>
2222

23+
<PropertyGroupCondition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">
24+
<Tailcalls>true</Tailcalls>
25+
</PropertyGroup>
26+
27+
<PropertyGroupCondition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard1.6|AnyCPU'">
28+
<Tailcalls>true</Tailcalls>
29+
</PropertyGroup>
30+
2331
<TargetName="CopyToBuiltBin"BeforeTargets="BuiltProjectOutputGroup"AfterTargets="CoreCompile">
2432
<ItemGroup>
2533
<BuiltProjectOutputGroupKeyOutputInclude="$(FSharpSourcesRoot)\..\$(Configuration)\net40\bin\Microsoft.Build.Framework.dll" />
@@ -650,7 +658,7 @@
650658
<Link>InteractiveSession/fsi.fs</Link>
651659
</Compile>
652660

653-
<CompileInclude="..\MSBuildReferenceResolver.fs"Condition="'$(MonoPackaging)' != 'true'">
661+
<CompileInclude="..\MSBuildReferenceResolver.fs"Condition="'$(MonoPackaging)' != 'true'">
654662
<Link>Misc/MSBuildReferenceResolver.fs</Link>
655663
</Compile>
656664
<!-- an old API for testing the compiler and gathering diagnostics in-memory-->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp