Commit graph

2312 commits

Author SHA1 Message Date
Mo
07dec76f7c
Merge pull request #1916 from mo8it/command
Pipe the output of command to null instead of capturing and ignoring it
2024-03-27 14:24:16 +01:00
Mo
deeefcf16c
Merge pull request #1913 from mo8it/which
Use `which` instead of running `rustc --version`
2024-03-27 14:21:11 +01:00
mo8it
8e0f7e56f7 Merge branch 'main' into which 2024-03-27 14:18:20 +01:00
Mo
87ca05b4bb
Merge pull request #1915 from mo8it/home
Remove the home dependency since it is not used
2024-03-27 12:58:30 +01:00
Mo
d69a8a7045
Merge pull request #1921 from mo8it/style
Style
2024-03-27 12:57:26 +01:00
mo8it
87001a68c0 The string doesn't have to be a raw string 2024-03-26 17:50:29 +01:00
mo8it
a610fc1bc2 Remove unneeded closure 2024-03-26 17:50:10 +01:00
mo8it
e89028581c Use == instead of eq 2024-03-26 17:49:55 +01:00
mo8it
980ffa2a2b Use == on simple enums 2024-03-26 17:49:48 +01:00
mo8it
1f2029ae55 Add missing semicolon 2024-03-26 17:49:25 +01:00
mo8it
ed0fcf8e3d Formatting 2024-03-26 17:49:05 +01:00
mo8it
f36efae25d Only use arg instead of args AND arg 2024-03-26 17:48:06 +01:00
mo8it
853d0593d0 Derive Eq when PartialEq is derived 2024-03-26 17:47:33 +01:00
mo8it
078f6ffc1c Add comments 2024-03-26 02:26:26 +01:00
mo8it
7a6f71f090 Fix context of previous lines and improve readability 2024-03-26 02:14:25 +01:00
mo8it
a158c77d81 Add comment 2024-03-25 23:21:14 +01:00
mo8it
8ddbf9635d Add write_project_json 2024-03-25 23:01:56 +01:00
mo8it
8d3ec24c11 Optimize the serialized data types 2024-03-25 22:41:14 +01:00
mo8it
a5ba44bd6a RustAnalyzerProject is not deserialized 2024-03-25 22:30:16 +01:00
mo8it
f5135ae4df Remove unneeded check if crates is empty 2024-03-25 22:29:33 +01:00
mo8it
87e55ccffd Use the parsed exercises instead of glob 2024-03-25 22:20:00 +01:00
mo8it
d911586788 Pipe the output to null instead of capturing and ignoring it 2024-03-25 17:21:54 +01:00
mo8it
b932ed1f67 Don't capture stderr 2024-03-25 17:14:41 +01:00
mo8it
dca3ea355e Remove the home dependency since it is not used 2024-03-25 14:10:51 +01:00
mo8it
d095a307dd Avoid allocations on every call to Path::join 2024-03-25 03:59:21 +01:00
mo8it
51712cc19f Merge get_sysroot_src into the constructor 2024-03-25 03:49:10 +01:00
mo8it
efa9f57048 Add anyhow 2024-03-25 03:46:56 +01:00
mo8it
b3aef377be Use a custom capacity for the JSON buffer 2024-03-25 03:33:14 +01:00
mo8it
e4520602f5 Use the NotFound variant of the IO error 2024-03-25 02:41:45 +01:00
mo8it
83cd91ccca Replace toml with toml_edit 2024-03-25 02:35:51 +01:00
mo8it
51b4c240ed Use which instead of running rustc --version 2024-03-25 00:30:01 +01:00
mo8it
bdf826a026 Make "I AM NOT DONE" caseless 2024-03-24 22:22:55 +01:00
mo8it
c0c112985b Replace regex with winnow 2024-03-24 19:18:19 +01:00
mo8it
f205ee3d4c Call looks_done only once 2024-03-24 18:50:46 +01:00
mo8it
e1375ef431 Use to_string_lossy 2024-03-24 18:47:27 +01:00
mo8it
0aeaccc3a5 Optimize state 2024-03-24 18:34:46 +01:00
mo8it
01b7d6334c Remove unneeded to_string call 2024-03-23 22:08:25 +01:00
mo8it
a325df55d1 Cache filters 2024-03-23 21:56:40 +01:00
mo8it
27fa7c3e4a Move the const string to the bottom like others 2024-03-23 19:00:15 +01:00
mo8it
0d93266462 Initialize the input buffer with some capacity 2024-03-23 18:56:30 +01:00
mo8it
3dce7e5696 Improvements to watch mode 2024-03-23 18:51:25 +01:00
honeywest
e276c12192 feat: ui format 2024-03-21 15:18:50 +08:00
liv
9c6f56b836
Merge pull request #1903 from mo8it/threads3
Remove unneeded Arc
2024-03-18 18:43:30 +01:00
liv
f3fdb07507
Merge pull request #1904 from mo8it/lsp
Fix the sysroot path when it contains whitespaces
2024-03-18 18:43:07 +01:00
mo8it
1fe32a7ff2 Fix the sysroot path when it contains whitespaces 2024-03-18 01:44:25 +01:00
mo8it
71700c506c Remove unneeded Arc 2024-03-18 01:12:37 +01:00
liv
18d0f3411f
Merge pull request #1902 from rust-lang/all-contributors/add-kazu728
docs: add kazu728 as a contributor for code
2024-03-17 13:19:44 +01:00
allcontributors[bot]
e1fa6cf30b
docs: update .all-contributorsrc [skip ci] 2024-03-17 12:19:37 +00:00
allcontributors[bot]
a07172a069
docs: update AUTHORS.md [skip ci] 2024-03-17 12:19:36 +00:00
liv
32d2c38aa2
Merge pull request #1899 from kazu728/fix-verify-stdout-buffering
show stdout of the final line
2024-03-17 13:19:20 +01:00