Skip to content

Commit

Permalink
ci: fix max-page-size=16384 for Android builds (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
CBenoit authored Dec 12, 2024
1 parent c1f0762 commit bf23ce4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,19 @@ jobs:
echo "[target.i686-linux-android]" >> $CargoConfigFile
echo "linker=`"$AndroidToolchain/bin/i686-linux-android21-clang`"" >> $CargoConfigFile
echo "rustflags = [`"-C`", `"link-args=-zmax-page-size=16384`"]"
echo "rustflags = [`"-C`", `"link-args=-z max-page-size=16384`"]" >> $CargoConfigFile
echo "[target.x86_64-linux-android]" >> $CargoConfigFile
echo "linker=`"$AndroidToolchain/bin/x86_64-linux-android21-clang`"" >> $CargoConfigFile
echo "rustflags = [`"-C`", `"link-args=-zmax-page-size=16384`"]"
echo "rustflags = [`"-C`", `"link-args=-z max-page-size=16384`"]" >> $CargoConfigFile
echo "[target.armv7-linux-androideabi]" >> $CargoConfigFile
echo "linker=`"$AndroidToolchain/bin/armv7a-linux-androideabi21-clang`"" >> $CargoConfigFile
echo "rustflags = [`"-C`", `"link-args=-zmax-page-size=16384`"]"
echo "rustflags = [`"-C`", `"link-args=-z max-page-size=16384`"]" >> $CargoConfigFile
echo "[target.aarch64-linux-android]" >> $CargoConfigFile
echo "linker=`"$AndroidToolchain/bin/aarch64-linux-android21-clang`"" >> $CargoConfigFile
echo "rustflags = [`"-C`", `"link-args=-zmax-page-size=16384`"]"
echo "rustflags = [`"-C`", `"link-args=-z max-page-size=16384`"]" >> $CargoConfigFile
- name: Setup build environment
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion ffi/dotnet/Devolutions.Picky/Devolutions.Picky.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Company>Devolutions</Company>
<Description>Bindings to Rust picky native library</Description>
<LangVersion>latest</LangVersion>
<Version>2024.12.10.0</Version>
<Version>2024.12.12.0</Version>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down

0 comments on commit bf23ce4

Please sign in to comment.