Commit Graph

13 Commits

Author SHA1 Message Date
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
Bernardo Meurer
d55e70b7cd rust-analyzer: 2020-06-01 -> 2020-06-08 2020-06-12 15:55:44 -07:00
Jan Tojnar
acb53e0698
Merge branch 'staging-next' into staging 2020-06-10 04:10:57 +02:00
oxalica
a3acf1572a
rust-analyzer: 2020-04-20 -> 2020-06-01 2020-06-06 21:18:58 +08: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
oxalica
a82fe46ae1
rust-analyzer: 2020-04-06 -> 2020-04-20 2020-04-23 17:11:04 +08:00
oxalica
8318c36a4b
vscode-extensions.rust-analyzer: use global NPM packages to share dependencies 2020-04-11 16:01:12 +08:00
oxalica
f76a4950c5
rust-analyzer: 2020-03-16 -> 2020-04-06 2020-04-11 00:52:40 +08:00
oxalica
fc8d2f426f
rust-analyzer: change to nix-prefetch and fix version checking in update script 2020-04-11 00:52:09 +08:00
oxalica
bde9289415
rust-analyzer: check compatibility in update script 2020-03-17 17:56:26 +08:00
oxalica
4f12275a06
rust-analyzer: 2020-03-09 -> 2020-03-16
vscode-extensions.rust-analyzer: 2020-03-09 -> 2020-03-16
2020-03-17 17:08:02 +08:00
oxalica
b0a4ce1689
vscode-extensions.rust-analyzer: init at unstable-2020-03-09 2020-03-10 19:12:40 +08:00
oxalica
3ea54e6972
rust-analyzer: init at unstable-2020-03-09 2020-03-10 19:12:35 +08:00