Rust: reuse shared rust trap library

This commit is contained in:
Paolo Tranquilli
2024-08-30 16:08:37 +02:00
parent 4f0fe1ce3a
commit 7e1290aa74
19 changed files with 677 additions and 216 deletions

View File

@@ -1,3 +1,5 @@
[workspace]
[package]
name = "codeql-rust"
version = "0.1.0"
@@ -21,6 +23,10 @@ serde = "1.0.209"
serde_with = "3.9.0"
stderrlog = "0.6.0"
triomphe = "0.1.13"
# Ideally, we'd like to pull this in via a relative path.
# However, our bazel/rust tooling chokes on this, c.f. https://github.com/bazelbuild/rules_rust/issues/1525
# Therefore, we have a pretty bad hack in place instead, see README.md in the codeql-extractor-fake-crate directory.
codeql-extractor = { path = "codeql-extractor-fake-crate" }
[patch.crates-io]
# patch for build script bug preventing bazel build