mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-23 14:57:06 +00:00
Update packaging of LibFuzzerDotNetLoader (#3248)
* Trim LibFuzzerDotNetLoader * Trim more, update invocations * Undo trimming * Also reduce size of SharpFuzz * Undo Sharpfuzz changes; they break it for some reason
This commit is contained in:
@ -6,6 +6,12 @@
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<!-- make published binaries as small as possible -->
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<DebuggerSupport>false</DebuggerSupport>
|
||||
<!-- /end -->
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -26,7 +26,7 @@ popd
|
||||
|
||||
# Build SharpFuzz and our dynamic loader harness for `libfuzzer-dotnet`.
|
||||
pushd src/agent/LibFuzzerDotnetLoader
|
||||
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader --sc -r win10-x64
|
||||
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader -r win10-x64
|
||||
if ($LASTEXITCODE -ne 0) { throw "dotnet publish exited with $LASTEXITCODE" }
|
||||
popd
|
||||
|
||||
|
@ -34,7 +34,7 @@ popd
|
||||
|
||||
# Build SharpFuzz and our dynamic loader harness for `libfuzzer-dotnet`.
|
||||
pushd src/agent/LibFuzzerDotnetLoader
|
||||
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader --sc -r linux-x64
|
||||
dotnet publish . -c Release -o $ARTIFACTS/LibFuzzerDotnetLoader -r linux-x64
|
||||
popd
|
||||
|
||||
# Build `libfuzzer-dotnet`.
|
||||
|
Reference in New Issue
Block a user