diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 16:05:09 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 16:05:09 +0000 |
commit | 9a52b2875a2d814a19ffcee56bd6b962b994dfcb (patch) | |
tree | 551246daead1fa0c2e4a17a7e22208b13be88bbb /fsharp-no-apphost.patch | |
parent | af7c3c9716770d937544687b482bf62e866193de (diff) |
automatic import of dotnet6.0openeuler24.03_LTSopeneuler23.09
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" --> + |