fix building tch-rs with rust-analyzer
This commit is contained in:
parent
5e349c574c
commit
d4f922dd95
1 changed files with 5 additions and 0 deletions
|
|
@ -48,6 +48,11 @@ nvim_lsp.rust_analyzer.setup({
|
||||||
'cargo', 'clippy', '--workspace', '--message-format=json',
|
'cargo', 'clippy', '--workspace', '--message-format=json',
|
||||||
'--all-targets', '--all-features'
|
'--all-targets', '--all-features'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
runnables = {
|
||||||
|
extraEnv = {
|
||||||
|
TORCH_CUDA_VERSION = "cu121",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue