Commit Graph

430 Commits

Author SHA1 Message Date
oxalica
26de7b3711
rust-analyzer: disable install check due to #93119 2020-07-14 21:51:50 +08:00
oxalica
ddacdbc953
rust-analyzer: fix version display and add check 2020-07-14 20:15:55 +08:00
oxalica
c90e6dd06d
rust-analyzer: 2020-06-08 -> 2020-07-13 2020-07-14 20:15:55 +08:00
oxalica
1cb300ac2a
rust-analyzer: fix update script and avoid updating nodePackages if possible 2020-07-14 19:02:04 +08:00
Maximilian Bosch
514afd26bc
rustracer: 2.1.30 -> 2.1.33, fix build
ChangeLog: https://github.com/racer-rust/racer/blob/v2.1.33/CHANGELOG.md#2132
Broken build: https://hydra.nixos.org/build/123837796

Please note that I intentionally didn't bump to `2.1.35` since it
requires nightly features. `2.1.33` is the latest version which supports
our current `rustc`-version (1.44.1) on nixpkgs `master`.

Closes #89481
2020-07-13 22:46:22 +02:00
Vladimír Čunát
377324ca6d
Merge branch 'staging-next' (PR #91090) 2020-07-13 07:13:56 +02:00
Daniël de Kok
4c40111f1d maturin: 0.8.1 -> 0.8.2
The changelog is not updated, so this has to do:

https://github.com/PyO3/maturin/compare/v0.8.1...v0.8.2
2020-07-12 07:26:44 +02:00
Daniël de Kok
e8d7851e00
Merge pull request #92943 from minijackson/cargo-inspect-0.10.3
cargo-inspect: 0.10.1 -> 0.10.3
2020-07-11 20:09:27 +02:00
Minijackson
ca343e5398
cargo-inspect: 0.10.1 -> 0.10.3 2020-07-11 18:26:40 +02:00
Frederik Rietdijk
ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
R. RyanTM
0d68512749 rustup: 1.21.1 -> 1.22.1 2020-07-11 01:11:05 +00:00
Jan Tojnar
4bca7dfb27
Merge branch 'master' into staging-next 2020-07-04 23:59:32 +02:00
Maximilian Bosch
67a1c36929
cargo-watch: 7.4.1 -> 7.5.0
https://github.com/passcod/cargo-watch/releases/tag/v7.5.0

Also fixes the `aarch64`-build: https://hydra.nixos.org/build/123187262
2020-07-04 23:13:30 +02:00
Vladimír Čunát
e1206a2129
Merge master into staging-next
This brings thousands of rebuilds.
Hydra nixpkgs: ?compare=1597944
2020-07-04 09:15:27 +02:00
Maximilian Bosch
db0540d178
cargo-make: fix darwin build
https://hydra.nixos.org/build/123569405
2020-07-03 23:10:36 +02:00
Maximilian Bosch
873e21190e
cargo-make: 0.31.1 -> 0.32.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.32.0
2020-07-03 14:28:46 +02:00
Flakebi
deb78151a9 buildRustPackage: fix cargoBuildFlags
When features were supplied in cargoBuildFlags, the binaries were built
with these features enabled. Unless checking was disabled, `cargo test`
was executed without these build flags, meaning the binaries were
rebuilt and overwritten without the specified features.

Fix this bug by running tests after the installation phase.
2020-07-03 08:53:57 +10:00
R. RyanTM
dc5a3f9f13 rust-cbindgen: 0.14.2 -> 0.14.3 2020-07-02 10:33:07 -07:00
Maximilian Bosch
2101f7361c
cargo-make: 0.31.0 -> 0.31.1
https://github.com/sagiegurari/cargo-make/releases/tag/0.31.1
2020-06-26 14:54:49 +02:00
Daniël de Kok
e1c0d36381
Merge pull request #91536 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.6.8 -> 0.7.0
2020-06-26 08:49:35 +02:00
R. RyanTM
fce7543afa cargo-deny: 0.6.8 -> 0.7.0 2020-06-26 04:18:44 +00:00
Daniël de Kok
1e5b480e8b maturin: 0.8.0 -> 0.8.1
- Supports `sdist-include = ["path/**/*"]` to include arbitrary files
  in source distributions
- Fixes Cargo.lock
- Updates some dependencies
2020-06-25 17:25:37 +02:00
Jade Harley
05b765d299 (rustup): (add zlib to rpath in rustup libraries)
(Rust now has a dynamic library dependence on zlib. (see https://github.com/rust-lang/rust/pull/72696))
2020-06-22 21:23:01 -05:00
Florian Klink
f761f29bd3
Merge pull request #90211 from lovesegfault/r-a-bump
rust-analyzer: 2020-06-01 -> 2020-06-08
2020-06-18 20:39:16 +02:00
oxalica
030fd3ca0c
cargo-insta: strip unused variable 2020-06-18 20:49:20 +08:00
oxalica
71c0dbd5a4
cargo-insta: init at 0.16.0 2020-06-18 19:13:04 +08:00
Bernardo Meurer
d55e70b7cd rust-analyzer: 2020-06-01 -> 2020-06-08 2020-06-12 15:55:44 -07:00
Vladimír Čunát
13add13388
Merge branch 'master' into staging-next
... to resolve a trivial conflict in libpcap.
2020-06-10 20:00:44 +02:00
Maximilian Bosch
879202bf37
Merge pull request #89905 from r-ryantm/auto-update/cargo-watch
cargo-watch: 7.4.0 -> 7.4.1
2020-06-10 14:43:17 +02:00
Jan Tojnar
acb53e0698
Merge branch 'staging-next' into staging 2020-06-10 04:10:57 +02:00
R. RyanTM
264f85658e cargo-watch: 7.4.0 -> 7.4.1 2020-06-09 10:03:55 +00:00
Jörg Thalheim
d903f1166b
Merge pull request #89649 from oxalica/rust-analyzer 2020-06-08 17:38:10 +01:00
Frederik Rietdijk
8576d24b2a Merge staging-next into staging 2020-06-08 12:08:51 +02:00
Maximilian Bosch
0558bb9f64
cargo-make: 0.30.8 -> 0.31.0
https://github.com/sagiegurari/cargo-make/releases/tag/0.31.0
2020-06-07 17:09:35 +02:00
Frederik Rietdijk
d0532e79ae Merge staging-next into staging 2020-06-07 09:25:46 +02:00
Mario Rodas
c9ac490e86
Merge pull request #89698 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.6.7 -> 0.6.8
2020-06-06 18:04:51 -05:00
R. RyanTM
d2be94c36e cargo-deny: 0.6.7 -> 0.6.8 2020-06-06 21:01:31 +00:00
Mario Rodas
02dd680c3f
Merge pull request #89591 from r-ryantm/auto-update/cargo-watch
cargo-watch: 7.3.0 -> 7.4.0
2020-06-06 08:36:14 -05:00
oxalica
a3acf1572a
rust-analyzer: 2020-04-20 -> 2020-06-01 2020-06-06 21:18:58 +08:00
R. RyanTM
efdab4bc6c cargo-watch: 7.3.0 -> 7.4.0 2020-06-06 04:03:24 +00:00
R. RyanTM
93dd2e4f6e cargo-udeps: 0.1.11 -> 0.1.12 2020-06-06 03:56:15 +00:00
Vladimír Čunát
677e3960b5
Merge #82342: rustPlatform: increase build-speed of checkPhase
...for rust-packages (into staging)
2020-06-05 09:12:30 +02:00
Maximilian Bosch
45e53a7658
cargo-make: 0.30.7 -> 0.30.8
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.8
2020-05-27 15:03:28 +02:00
Maximilian Bosch
6b23cfe689
rustPlatform: add buildAndTestSubdir-argument
There are several tarballs (such as the `rust-lang/rust`-source) with a
`Cargo.toml` at root and several sub-packages (with their own Cargo.toml)
without using workspaces[1].

In such a case it's needed to move into a subdir to only build the
specified sub-package (e.g. `rustfmt` or `rsl`), however the artifacts
are at `/target` in the root-dir of the build environment. This breaks
the build since `buildRustPackage` searches for executables in `target`
(which is at the build-env's root) at the end of the `buildPhase`.

With the optional `buildAndTestSubdir`-argument, the builder moves into
the specified subdir using `pushd`/`popd` during `buildPhase` and
`checkPhase`.

Also moved the logic to find executables and libs to the end of the `buildPhase`
from a custom `postBuild`-hook to fix packages with custom `build`/`install`-procedures
such as `uutils-coreutils`.

[1] https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html
2020-05-13 01:47:17 +02:00
Maximilian Bosch
ee032804f8
cargo-make: 0.30.6 -> 0.30.7
https://github.com/sagiegurari/cargo-make/releases/tag/0.30.7
2020-05-08 00:00:24 +02:00
Maximilian Bosch
01539e6f9a
cargo-deny: 0.6.6 -> 0.6.7
https://github.com/EmbarkStudios/cargo-deny/releases/tag/0.6.7
2020-05-06 23:50:37 +02:00
Andreas Rammhold
c275bdbafc
Merge pull request #86731 from r-ryantm/auto-update/rust-cbindgen
rust-cbindgen: 0.13.2 -> 0.14.2
2020-05-04 14:56:13 +02:00
R. RyanTM
d3531ea03d rust-cbindgen: 0.13.2 -> 0.14.2 2020-05-04 06:27:22 +00:00
Mario Rodas
1064426106
Merge pull request #86526 from r-ryantm/auto-update/cargo-udeps
cargo-udeps: 0.1.10 -> 0.1.11
2020-05-03 17:56:03 -05:00
Maximilian Bosch
e678dadd07
cargo-xbuild: 0.5.28 -> 0.5.29
https://github.com/rust-osdev/cargo-xbuild/releases/tag/v0.5.29
2020-05-03 19:07:00 +02:00