Tetsuharu Ohzeki
06f3995ca9
xtask: Fix warnings about clippy str_to_string
rule
2024-02-10 01:00:40 +09:00
Alex Kladov
6303551cb8
internal: use consistent style for error handling
2023-06-19 13:01:47 +01:00
Yuri Astrakhan
d3dbf9c194
Moar linting: needless_borrow, let_unit_value, ...
...
* There are a few needless borrows that don't seem to be needed. I even did a quick assembly comparison and posted a q to stackoveflow on it. See [here](https://stackoverflow.com/questions/74910196/advantages-of-pass-by-ref-val-with-impl-intoiteratoritem-impl-asrefstr )
* removed several `let _ = ...` when they don't look necessary (even a few ones that were not suggested by clippy (?))
* there were a few `then(|| ctor{})` that clippy suggested to replace with `then_some(ctor{})` -- seems reasonable?
* some unneeded assignment+return - keep the code a bit leaner
* a few `writeln!` instead of `write!`, or even consolidate write!
* a nice optimization to use `ch.is_ascii_digit` instead of `ch.is_digit(10)`
2022-12-25 05:07:47 -05:00
Aleksey Kladov
56e43c34e7
⬆️ xshell
2022-03-14 14:57:24 +00:00
Aramis Razzaghipour
16d38ec8b8
Use .into_iter()
method on array to avoid dereference
2021-11-03 16:13:47 +11:00
Laurențiu Nicola
8457ae34bd
Set MSRV
2021-10-23 15:07:11 +03:00
Lukas Wirth
1294bfce86
Migrate to edition 2021
2021-10-21 20:10:40 +02:00
Aramis Razzaghipour
55c0b86cde
Add semicolons for consistency
...
`clippy::semicolon_if_nothing_returned`
2021-10-03 23:39:43 +11:00
Aleksey Kladov
9b2bac621e
minor: make code clearer with ControlFlow
2021-09-11 20:49:10 +03:00
Lukas Wirth
95c8c65139
Nest all the or-patterns!
2021-06-17 17:37:14 +02:00
Aleksey Kladov
6a16ec52aa
internal: use API stabilized in 1.52
2021-05-06 20:12:15 +03:00
kjeremy
bdee55d66b
Rust 1.51
2021-03-25 11:34:13 -04:00
Aleksey Kladov
bf4aaa4fb0
Underengineer cargo xtask install --client
2021-03-05 20:42:41 +03:00
Aleksey Kladov
142f9a03fd
Cleanup install command
2021-03-05 11:51:32 +03:00
Aleksey Kladov
d9dcfd81c5
Simplify xtask
...
lib/bin/test separation isn't really needed.
2021-03-01 20:26:37 +03:00
kjeremy
cb24d323fe
Bump rust to latest stable 1.50
2021-02-12 12:00:05 -05:00
kjeremy
8ff69055b9
Do not overwrite lock file
...
Use `npm ci` instead of `npm install`. `npm install` will overwrite
the lock file if you have a newer npm version than the one that
generated the package-lock.json
2021-02-05 10:57:36 -05:00
Aleksey Kladov
d35bda6429
Make always-assert crate reusable
2021-01-26 22:13:42 +03:00
Jonas Schievink
9b5fa1c61a
Add back jemalloc support
2021-01-18 19:39:46 +01:00
Jérémy
7cf2c0d46f
Add client install support for code-exploration
build.
2020-12-08 19:23:25 +01:00
Aleksey Kladov
75d2075665
Revert "Upgrade version of npms lockfile"
...
This reverts commit 3d559afc11
.
VS Code uses nodejs 12 still, so its better to stick to the format it
understands.
2020-11-13 16:17:52 +01:00
Aleksey Kladov
3d559afc11
Upgrade version of npms lockfile
2020-11-12 20:39:16 +01:00
Emil Gardström
d0bb051ef7
allow xtask install --client-code[=CLIENT] to specify client
2020-10-17 10:28:12 +02:00
Aleksey Kladov
49a90d4c31
Switch from not_bash to xshell
2020-10-17 02:42:42 +02:00
Laurențiu Nicola
3d169bd3f4
Add track_env_var to the proc macro server
2020-10-08 17:06:20 +03:00
Aleksey Kladov
4b989009e3
CONST LOOPS ARE HERE
2020-08-27 18:12:01 +02:00
Aleksey Kladov
deed44a472
Remove support for jemalloc
...
We only used it for measuring memory usage, but now we can use glibc's
allocator for that just fine
2020-07-22 13:40:45 +02:00
Ivan Kozik
6710856c10
Add opt-in mimalloc feature
2020-07-14 20:57:51 +00:00
kjeremy
4378c63272
Bump required rust to 1.43
2020-04-23 11:56:32 -04:00
Aleksey Kladov
4b5435b52b
Make from-source install use cargo installed binary by default
2020-03-20 13:07:12 +01:00
Aleksey Kladov
fd586e58d9
cargo xtask dist
...
This builds the typescript extension
2020-03-04 18:18:20 +01:00
nmio
930b70c5d2
Readability
2020-03-01 13:07:16 +00:00
nmio
4b2880b886
Add note
2020-03-01 13:02:42 +00:00
Aleksey Kladov
520b0c8faf
Make xtask install path-agnostic
2020-02-27 10:55:27 +01:00
Kirill Bulatov
eceaf94f19
More manual clippy fixes
2020-02-18 16:12:37 +02:00
Aleksey Kladov
c855e36696
Rename config value for server Path
2020-02-18 12:35:44 +01:00
Aleksey Kladov
c0fa5e2246
Rename the binary to rust-analyzer
2020-02-18 12:33:16 +01:00
Aleksey Kladov
94fb9ad6b3
Fix extension name
2020-02-17 15:35:06 +01:00
Veetaha
c9d83bcacc
xtask: bump nodejs requirement while we can!
2020-02-14 23:20:49 +02:00
Aleksey Kladov
269e2f22a9
More declarative fs massaging
2020-02-14 17:05:56 +01:00
Aleksey Kladov
ce29497e43
Replace Cmd with not-bash
2020-02-14 16:47:09 +01:00
Aleksey Kladov
bd3a41cc33
Prevent auto-update of dev extension
2020-02-14 15:29:19 +01:00
Aleksey Kladov
52dcf3243e
Minor
2020-02-14 15:10:49 +01:00
Aleksey Kladov
1b6acc391a
More convenient run_with_output
2020-02-10 15:16:07 +01:00
Aleksey Kladov
bbd9013bca
Add note
2020-02-10 10:53:31 +01:00
Aleksey Kladov
5d7614197d
⬆️ rust
2020-01-30 18:03:24 +01:00
Aleksey Kladov
bd7aa5db14
Rename VS Code extension to rust-analyzer
2020-01-13 11:13:18 +01:00
leo-lb
e34c5d0f06
Add "code-oss" Visual Studio Code binary name
...
When Visual Studio Code is manually compiled from the upstream
source tree the binary is named "code-oss".
2020-01-07 16:42:45 +01:00
Aleksey Kladov
5e7995eeb7
Cleanup
2020-01-07 15:36:43 +01:00
Aleksey Kladov
91f9bc2b86
Refactor xtasks
2020-01-07 14:42:56 +01:00