-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test with the 'c' feature enabled on CI #166
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
a137787
Test with the 'c' feature enabled on CI
alexcrichton 2f2bb32
Use traits instead of macros for shift intrinsics
alexcrichton eeb44ab
Remove executable bit from mod.rs
alexcrichton 275d103
Port mul intrinsics to traits
alexcrichton 7886ae2
Port sdiv to traits + `intrinsics!`
alexcrichton d170421
Port udiv to the `intrinsics!` macro
alexcrichton 12a0038
Fix the abi hack on windows
alexcrichton a4120ad
Try to fix linkage on windows
alexcrichton 7f90c48
Test 64-bit linux
alexcrichton 215fa06
More windows linkage guesses
alexcrichton 1b78d79
Require the `compiler-builtins` target for the example
alexcrichton f0e5859
Build the intrinsics example separately
alexcrichton 8abb0ab
Build tweaks
alexcrichton 47ff813
Use more intrinsics on msvc
alexcrichton 4c41b56
Fix use_c_shim_if
alexcrichton 4540bd4
Fix travis intrinsics builds
alexcrichton 0be8b20
Fix features needed for the intrinsics example
alexcrichton 696b821
Enable `mem` for intrinsics on linux
alexcrichton 560018c
Less verbose output on symbol check
alexcrichton 93fed26
Remove executable bit from conv.rs
alexcrichton 83d63ea
Convert float intrinsics to the `intrinsics!` macro
alexcrichton ac3715d
Remove defined intrinsics from build.rs
alexcrichton 7c47450
Remove executable bit on arm.rs
alexcrichton 5a444d5
Remove unused rust file
alexcrichton a16ebb0
Use `nm` to weed out panics
alexcrichton 5172f8c
Tweak usage of C shims on MSVC
alexcrichton a839d53
Deal with floatdidf on x86_64
alexcrichton 7de57cd
Handle aeabi aliasing
alexcrichton eabb6fa
Shore up docs in the macros module
alexcrichton 635e519
Remove the travis cache
alexcrichton d513c92
Try testing MinGW targets
alexcrichton 94bc995
Don't build chkstk on x86_64
alexcrichton b42d267
Don't compile assembly on x86_64 Windows
alexcrichton 4dac0be
Don't derive Debug for Sign
alexcrichton a2bdb4b
Use the same CI script on AppVeyor
alexcrichton 2147753
Remove usage of unwrap_or_else
alexcrichton 5e28b7e
Try to fix run.sh on AppVeyor
alexcrichton 7643048
Fix appveyor PATH
alexcrichton 734ec3d
Tweak testing and such:
alexcrichton 5d6d3fd
Add a FIXME for Windows
alexcrichton 91b1291
Don't try to work with `cargo test`
alexcrichton d051480
Don't generate unmangled aeabi with gen-tests
alexcrichton 4859aba
Don't build gcc_personality_v0
alexcrichton acaa2f0
Don't check for references to panics with debug assertions
alexcrichton 5c74fb1
Enable 128-bit integer tests on Windows
alexcrichton c193113
Don't test mangled names on thumb
alexcrichton afe5c71
Address review comments
alexcrichton 0ebbcae
Enable the `intrinsics` program on thumb
alexcrichton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,45 @@ | ||
environment: | ||
# It's... a little unclear why the memcpy symbols clash on linux but not on | ||
# other platforms. Would be great to not differ on this though! | ||
INTRINSICS_FAILS_WITH_MEM_FEATURE: 1 | ||
|
||
matrix: | ||
- TARGET: i686-pc-windows-msvc | ||
- TARGET: x86_64-pc-windows-msvc | ||
|
||
# Ensure MinGW works, but we need to download the 32-bit MinGW compiler from a | ||
# custom location. | ||
# | ||
# Note that the MinGW builds have tons of references to | ||
# `rust_eh_unwind_resume` in the debug LTO builds that aren't optimized out, | ||
# so we skip that test for now. Would be great to not skip it! | ||
- TARGET: i686-pc-windows-gnu | ||
MINGW_URL: https://s3.amazonaws.com/rust-lang-ci | ||
MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z | ||
MINGW_DIR: mingw32 | ||
DEBUG_LTO_BUILD_DOESNT_WORK: 1 | ||
- TARGET: x86_64-pc-windows-gnu | ||
DEBUG_LTO_BUILD_DOESNT_WORK: 1 | ||
|
||
install: | ||
- git submodule update --init | ||
- curl -sSf -o rustup-init.exe https://win.rustup.rs | ||
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe | ||
- rustup-init.exe --default-host x86_64-pc-windows-msvc --default-toolchain nightly -y | ||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin | ||
- if "%TARGET%"=="i686-pc-windows-msvc" ( rustup target add %TARGET% ) | ||
- if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET% | ||
|
||
# Use the system msys | ||
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% | ||
|
||
# download a custom compiler otherwise | ||
- if defined MINGW_URL appveyor DownloadFile %MINGW_URL%/%MINGW_ARCHIVE% | ||
- if defined MINGW_URL 7z x -y %MINGW_ARCHIVE% > nul | ||
- if defined MINGW_URL set PATH=C:\Python27;%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH% | ||
|
||
- rustc -Vv | ||
- cargo -V | ||
|
||
build: false | ||
|
||
test_script: | ||
- cargo build --target %TARGET% | ||
- cargo build --release --target %TARGET% | ||
- cargo test --no-default-features --features gen-tests --target %TARGET% | ||
- cargo test --no-default-features --features gen-tests --release --target %TARGET% | ||
- sh ci/run.sh %TARGET% | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?! You can use bash on Windows / AppVeyor? I have been doing it wrong all this time ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌠