Fix X11 on 32bit architectures (#311)
* Add an i386 target to travis * Fix X11 on 32bit architectures One would hope 32bit X11 was dead by now but apparently not :). Fix the window hint setting code to not assume window IDs are 64bit as apparently they are not in 32bit arches.
This commit is contained in:
parent
5af88d97e8
commit
1db92063d9
3 changed files with 8 additions and 2 deletions
|
|
@ -12,10 +12,15 @@ install:
|
|||
if [ $TRAVIS_OS_NAME = osx ]; then
|
||||
rustup target add x86_64-apple-ios
|
||||
fi
|
||||
- |
|
||||
if [ $TRAVIS_OS_NAME = linux ]; then
|
||||
rustup target add i686-unknown-linux-gnu
|
||||
fi
|
||||
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- if [ $TRAVIS_OS_NAME = osx ]; then cargo build --target x86_64-apple-ios --verbose; fi
|
||||
- if [ $TRAVIS_OS_NAME = linux ]; then cargo build --target i686-unknown-linux-gnu --verbose; fi
|
||||
- cargo test --verbose
|
||||
|
||||
os:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue