do not regenerate bindings automatically, fix example
Some checks failed
Rust / build (push) Failing after 4m48s

This commit is contained in:
Vinzenz Schroeter 2025-02-16 14:47:03 +01:00
parent c37bfd8332
commit 66b650032a
2 changed files with 1 additions and 9 deletions

View file

@ -15,6 +15,6 @@ for (ulong offset = 0; offset < ulong.MaxValue; offset++)
for (ulong y = 0; y < pixels.Height(); y++)
pixels.Set((y + offset) % pixels.Width(), y, true);
connection.Send(Command.BitmapLinearWin(0, 0, pixels));
connection.Send(Command.BitmapLinearWin(0, 0, pixels, CompressionCode.Lzma));
Thread.Sleep(14);
}

View file

@ -23,14 +23,6 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<!-- generate C# bindings -->
<Target Name="BuildBindings" Condition="'$(Configuration)'=='Release'" BeforeTargets="PrepareForBuild">
<Exec Command="cargo build -p servicepoint_binding_uniffi --release"/>
</Target>
<Target Name="BuildBindings" Condition="'$(Configuration)'=='Debug'" BeforeTargets="PrepareForBuild">
<Exec Command="cargo build -p servicepoint_binding_uniffi"/>
</Target>
<!-- include native binary in output -->
<ItemGroup Condition="'$(Configuration)'=='Debug'">
<Content Include="../target/debug/libservicepoint_binding_uniffi.so" CopyToOutputDirectory="Always">