diff --git a/src/SourceBuild/tarball/patches/fsharp/0001-Patch-out-no-entrypoint-warning-as-a-workaround.patch b/src/SourceBuild/tarball/patches/fsharp/0001-Patch-out-no-entrypoint-warning-as-a-workaround.patch new file mode 100644 index 000000000..cf5170293 --- /dev/null +++ b/src/SourceBuild/tarball/patches/fsharp/0001-Patch-out-no-entrypoint-warning-as-a-workaround.patch @@ -0,0 +1,21 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Chris Rummel +Date: Wed, 21 Sep 2022 11:38:27 -0500 +Subject: [PATCH] Patch out 'no entrypoint' warning as a workaround. + +--- + src/Compiler/AbstractIL/ilwrite.fs | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/Compiler/AbstractIL/ilwrite.fs b/src/Compiler/AbstractIL/ilwrite.fs +index 983159604..adc338bc1 100644 +--- a/src/Compiler/AbstractIL/ilwrite.fs ++++ b/src/Compiler/AbstractIL/ilwrite.fs +@@ -3143,7 +3143,6 @@ let generateIL ( + if isDll then 0x0 + else getUncodedToken (if epHere then TableNames.Method else TableNames.File) tok + | None -> +- if not isDll then dprintn "warning: no entrypoint specified in executable binary" + 0x0 + + let pdbData =