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

Commit60f0946

Browse files
committed
use ClrRoot of current RuntimeEnvironment instead of hardcoded 4.0 on mono
1 parent5276da1 commit60f0946

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/fsharp/build.fs‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,11 +2437,9 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
24372437
[]
24382438
#else
24392439
// When running on Mono we lead everyone to believe we're doing .NET 4.0 compilation
2440-
// by default.
2440+
// by default.Why? See https://github.com/fsharp/fsharp/issues/99
24412441
if runningOnMonothen
2442-
letsysDir= System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()
2443-
letmono40SysDir= Path.Combine(Path.GetDirectoryName sysDir,"4.0")
2444-
[mono40SysDir]
2442+
[System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory()]
24452443
else
24462444
try
24472445
match tcConfig.resolutionEnvironmentwith

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp