Skip to content

Commit

Permalink
Patch for breaking 32-bit float conversions on ppc (cross-rs#313).
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Huszagh committed Sep 9, 2019
1 parent 3a790d9 commit 4709ab3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker/qemu.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
#!/usr/bin/env bash

set -ex

main() {
local version=4.1.0

# Qemu versions 3.10.0 and above break 32-bit float conversions
# on powerpc, powerpc64, and powerpc64le. Last known working version
# is 3.0.1.
# Upstream Issue:
# https://bugs.launchpad.net/qemu/+bug/1821444
if [[ $1 == ppc* ]]; then
version=3.0.1
fi

local arch=$1 \
os=$2 \
softmmu=$3 \
Expand Down

0 comments on commit 4709ab3

Please sign in to comment.