diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 03:00:32 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 03:00:32 +0000 |
commit | 678effd0fd13d5edb265fb2e9e2c09ea63f72054 (patch) | |
tree | 551246daead1fa0c2e4a17a7e22208b13be88bbb /fsharp-no-apphost.patch | |
parent | a2c428455262bb9f1297ac7c0e57f1dd72cbfdd9 (diff) |
automatic import of dotnet6.0openeuler24.03_LTS
Diffstat (limited to 'fsharp-no-apphost.patch')
-rw-r--r-- | fsharp-no-apphost.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fsharp-no-apphost.patch b/fsharp-no-apphost.patch new file mode 100644 index 0000000..1534888 --- /dev/null +++ b/fsharp-no-apphost.patch @@ -0,0 +1,21 @@ +--- a/tests/benchmarks/MicroPerf/MicroPerf.fsproj ++++ b/tests/benchmarks/MicroPerf/MicroPerf.fsproj +@@ -9,6 +9,7 @@ + <OtherFlags>$(OtherFlags) --nowarn:57</OtherFlags> + <OtherFlags>$(OtherFlags) --langversion:preview</OtherFlags> + <OtherFlags>$(OtherFlags) --define:PREVIEW</OtherFlags> ++ <UseAppHost>false</UseAppHost> + <!-- By default this project will compile with the proto compiler --> + <!-- Uncommenting this will build with a previous installed compiler --> + <!-- +--- a/tests/benchmarks/TaskPerf/TaskPerf.fsproj ++++ b/tests/benchmarks/TaskPerf/TaskPerf.fsproj +@@ -4,6 +4,7 @@ + <TargetFramework>net5.0</TargetFramework> + <OutputType>Exe</OutputType> + <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> ++ <UseAppHost>false</UseAppHost> + <!-- Turn off "This function is for use by compiled F# code and should not be used directly" --> + <OtherFlags>$(OtherFlags) --nowarn:1204</OtherFlags> + <!-- Turn off "Experimental" --> + |