Skip to content

Commit c15bc48

Browse files
committed
use git dep
1 parent ba27e2d commit c15bc48

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3167,6 +3167,7 @@ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
31673167
[[package]]
31683168
name = "rustc-literal-escaper"
31693169
version = "0.0.4"
3170+
source = "git+https://github.com/hkBst/literal-escaper?branch=remove_unreachable#c9ae54eb631ad5ab381c7fa3514cf2893b256e2e"
31703171

31713172
[[package]]
31723173
name = "rustc-main"

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@ codegen-units = 1
9191
# lto = true
9292

9393
[patch.crates-io]
94-
rustc-literal-escaper = { path = '../literal-escaper/' }
94+
#rustc-literal-escaper = { path = '../literal-escaper/' }
95+
rustc-literal-escaper = { git = "https://github.com/hkBst/literal-escaper", branch = "remove_unreachable" }

library/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ rustc-std-workspace-core = { path = 'rustc-std-workspace-core' }
5151
rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' }
5252
rustc-std-workspace-std = { path = 'rustc-std-workspace-std' }
5353
compiler_builtins = { path = "compiler-builtins/compiler-builtins" }
54-
rustc-literal-escaper = { path = '../../literal-escaper/' }
54+
#rustc-literal-escaper = { path = '../../literal-escaper/' }
55+
rustc-literal-escaper = { git = "https://github.com/hkBst/literal-escaper", branch = "remove_unreachable" }

src/tools/rust-analyzer/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ debug = 2
4949

5050
# salsa = { path = "../salsa" }
5151

52-
rustc-literal-escaper = { path = '../../../../literal-escaper/' }
52+
#rustc-literal-escaper = { path = '../../../../literal-escaper/' }
53+
rustc-literal-escaper = { git = "https://github.com/hkBst/literal-escaper", branch = "remove_unreachable" }
5354

5455
[workspace.dependencies]
5556
# local crates

0 commit comments

Comments
 (0)