summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-09Class related tests for derive HashZhiting Zhu
2017-08-09Struct related tests for derive HashZhiting Zhu
2017-08-09Union related tests for derive Hashzzhu
2017-08-09Can derive Hash analysiszzhu
2017-08-09Auto merge of #897 - emilio:ci-cache, r=fitzgenbors-servo
ci: Cache LLVM builds. Fixes #896
2017-08-09ci: Cache LLVM builds.Emilio Cobos Álvarez
Fixes #896
2017-08-05Auto merge of #894 - nivkner:fix_test, r=emiliobors-servo
fix test for explicitly typed enum on aarch64 Fixes #893
2017-08-05fix test for explicitly typed enum on aarch64Niv
2017-08-04Auto merge of #891 - fitzgen:fix-test-expectations, r=photoszztbors-servo
Fix test expectations r? @photoszzt cc @tmfink: I had to revert the target features commit because there were a bunch of compilation failures in the test expectations (we had another, earlier regression that accidentally made it so that we weren't compiling and running the test expectations in CI, so we didn't catch the target features PR's regressions).
2017-08-04Compile test expectations and run their unit tests in CINick Fitzgerald
Fixes a regression from d73507e which accidentally broke this.
2017-08-04Revert "Add --rust-target to replace --unstable-rust"Nick Fitzgerald
This reverts commit 0bb7b9f1c4652f63f41eba4064b79c044fd3d955. It turns out our CI stopped running test expectations in an earlier regression (from d73507e; fix incoming) and so this pull request actually introduced a bunch of failures when compiling the test expectations and running their unit tests :(
2017-08-04Auto merge of #859 - tmfink:feature-832-custom-rust-target, r=fitzgenbors-servo
Feature 832 custom rust target Addresses #832. Instead of specifying whether or not to use stable, specify the Rust release to support (one of several stable/beta releases or nightly). The `--unstable-rust` option is still accepted and implies `--rust-target nightly`. The definitions of `RustTarget` and `RustFeatures` are created with macros. In order to keep the test outputs the same, `bindgen-flags: --rust-target 1.0` was added to test headers. **Todo:** - [x] Create `RustFeatures`/`RustTarget` structs - [x] Replace uses of `unstable` with `RustFeatures` query - [x] Add new tests - [x] Fix doc comments TODOs
2017-08-04Add --rust-target to replace --unstable-rustTravis Finkenauer
Instead of specifying whether or not to use stable, specify the Rust release to support (one of several stable/beta releases or nightly). The --unstable-rust option is still accepted and implies nightly. The definitions of `RustTarget` and `RustFeatures` are created with macros. For each test that uses unions, there is a version that uses the latest stable release and stable 1.0.
2017-08-03Auto merge of #889 - photoszzt:fix_recursive_whitelist_opaque, r=fitzgenbors-servo
Fix recursive whitelisting and handling of opaque for derive default Fix regression of derive default analysis. Also fix opaque handing exposed by the above fix. r? @fitzgen
2017-08-03Auto merge of #866 - photoszzt:can_derive_copy_array, r=fitzgenbors-servo
Can derive copy analysis r? @fitzgen or @emilio. Fix: #766
2017-08-03Can derive copy analysiszzhu
2017-08-03Auto merge of #890 - photoszzt:clean_up_trivially_debug, r=emiliobors-servo
Clean up trivially derive debug r? @fitzgen
2017-08-02Clean up trivially derive debugzzhu
2017-08-02Fix recursive whitelisting and handling of opaquezzhu
Fix regression of derive default analysis. Also fix opaque handing exposed by the above fix.
2017-08-01Auto merge of #874 - WiSaGaN:master, r=emiliobors-servo
Support deriving copy for large array Fixes #56
2017-08-01Not derive Copy for C flexible array memberWangshan Lu
2017-08-01Support deriving copy for large arrayWangshan Lu
2017-07-31Auto merge of #873 - photoszzt:cleanup_derive_debug, r=fitzgenbors-servo
Clean up left over derive debug nits r? @fitzgen
2017-07-31Clean up left over derive debug nitszzhu
2017-07-31Auto merge of #861 - photoszzt:derive_default, r=fitzgenbors-servo
Can derive default analysis r? @fitzgen
2017-07-31Auto merge of #865 - fitzgen:release-announcements-template, r=emilio,nrc,tmfinkbors-servo
Add a template for release announcements And a script to find all the folks who contributed to the release. Anything we should add or remove to the release announcement template? Once we've hashed this out, I'll make the first release announcement thread on u.r-l.o :-) r? @emilio @nrc
2017-07-31Add a template for release announcementsNick Fitzgerald
And a script to find all the folks who contributed to the release.
2017-07-31Auto merge of #872 - upsuper:ptr-array-name, r=emiliobors-servo
Stablize name of pointer and array This fixes #871.
2017-07-31Stablize name of pointer and arrayXidorn Quan
2017-07-28Auto merge of #863 - fitzgen:rm-used, r=emiliobors-servo
Remove the incomplete `--dummy-uses` feature This would generate dummy uses of all the whitelisted types, which we were planning on eventually using to generate DWARF for more layout testing of our types, but we decided that isn't worth the trouble. Kill it! r? @emilio
2017-07-28Remove the incomplete `--dummy-uses` featureNick Fitzgerald
This would generate dummy uses of all the whitelisted types, which we were planning on eventually using to generate DWARF for more layout testing of our types, but we decided that isn't worth the trouble. Kill it!
2017-07-27Auto merge of #860 - emilio:issue-848, r=fitzgenv0.29.0bors-servo
lib: Filter out include paths when looking for clang paths. Fixes #848
2017-07-27can derive default analysiszzhu
2017-07-28Major version bump.Emilio Cobos Álvarez
2017-07-28Test for #848.Emilio Cobos Álvarez
2017-07-27Auto merge of #862 - fitzgen:remove-unused-extra, r=emiliobors-servo
Remove unused `Extra` associated types r? @photoszzt or @emilio
2017-07-27Remove the `CanDeriveDebug::Extra` associated typeNick Fitzgerald
Similar to `HasVtable::Extra`, it is no longer needed.
2017-07-27Remove unused `CanDeriveDebug` implNick Fitzgerald
2017-07-27Remove unused `HasVtable::Extra` associated typeNick Fitzgerald
This is a throwback from the old, ad-hoc computation before we used the fixpoint analysis.
2017-07-27lib: Filter out include paths when looking for clang paths.Emilio Cobos Álvarez
2017-07-26Auto merge of #858 - fitzgen:report-unknown-generate-item, r=emiliobors-servo
Report what the unknown generate item was when parsing `--generate` r? @emilio
2017-07-26Report what the unknown generate item was when parsing `--generate`Nick Fitzgerald
2017-07-26Merge pull request #857 from fitzgen/derive-debug-with-paddingEmilio Cobos Álvarez
Be conservative about deriving Debug/Default with large alignment
2017-07-26Be conservative about deriving Debug/Default with large alignmentNick Fitzgerald
When there is large enough alignment that we might generate padding which has more members that `RUST_DERIVE_IN_ARRAY_LIMIT`, we can break our ability to derive traits. This commit solves this issue conservatively: there are cases where we leave a derive on the table, because in order to know that we could add that derive, we would need to compute padding before we determine whether we can derive. Fixes #648
2017-07-26Merge pull request #846 from UK992/appveyorNick Fitzgerald
Setup Appveyor
2017-07-26Setup AppveyorUK992
2017-07-26Merge pull request #855 from photoszzt/move_dependency_outNick Fitzgerald
Pull out the loop that generates dependency map into its own function.
2017-07-25Pull out the loop that generates dependency map into its own function.zzhu
2017-07-25s/servo/rust-lang-nursery/ in README.mdNick Fitzgerald
Missed the most important part of the last commit... r=me
2017-07-25Merge pull request #853 from fitzgen/rust-lang-nurseryNick Fitzgerald
s/servo/rust-lang-nursery/ \o/