Unverified Commit 84d95d6d authored by Georg Koppen's avatar Georg Koppen Committed by boklm
Browse files

Bug 30490: Adapt cbindgen for Windows 32bit usage

parent 9b4b31f5
...@@ -22,8 +22,13 @@ replace-with = "vendored-sources" ...@@ -22,8 +22,13 @@ replace-with = "vendored-sources"
directory = "/var/tmp/build/cbindgen/vendor" directory = "/var/tmp/build/cbindgen/vendor"
EOF EOF
cargo build --release --frozen --target x86_64-unknown-linux-gnu [% IF ! c("var/windows-i686") -%]
mv target/x86_64-unknown-linux-gnu/release/cbindgen $distdir/[% project %] target=x86_64
[% ELSE -%]
target=i686
[% END -%]
cargo build --release --frozen --target $target-unknown-linux-gnu
mv target/$target-unknown-linux-gnu/release/cbindgen $distdir/[% project %]
cd $distdir cd $distdir
[% c('tar', { [% c('tar', {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment