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"
directory = "/var/tmp/build/cbindgen/vendor"
EOF
cargo build --release --frozen --target x86_64-unknown-linux-gnu
mv target/x86_64-unknown-linux-gnu/release/cbindgen $distdir/[% project %]
[% IF ! c("var/windows-i686") -%]
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
[% 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