do not regenerate bindings automatically, fix example
Some checks failed
Rust / build (push) Failing after 4m48s
Some checks failed
Rust / build (push) Failing after 4m48s
This commit is contained in:
parent
c37bfd8332
commit
66b650032a
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue