mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
The `.cargo/config.toml` override based workaround wasn't really working, as while `cargo build|check` was reading that, `cargo metadata` wasn't, ending up in a completely broken IDE experience. For the moment, we just use a unified workspace `Cargo.toml` for all extractors using the shared tree-sitter code, which has the downside of making bazel pull in dependencies for all of them, and not being able to do sparse checkouts for them. We should investigate and rivist this in the future.
15 lines
459 B
TOML
15 lines
459 B
TOML
# This is the shared workspace file for extractor using shared/tree-sitter/extractor
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
members = [
|
|
"shared/tree-sitter-extractor",
|
|
"ruby/extractor",
|
|
"rust/extractor",
|
|
]
|
|
|
|
[patch.crates-io]
|
|
# patch for build script bug preventing bazel build
|
|
# see https://github.com/rust-lang/rustc_apfloat/pull/17
|
|
rustc_apfloat = { git = "https://github.com/redsun82/rustc_apfloat.git", rev = "096d585100636bc2e9f09d7eefec38c5b334d47b" }
|