mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Rust: introduce upgrades/downgrades infrastructure
This commit is contained in:
@@ -86,7 +86,7 @@ case "${lang}" in
|
|||||||
csharp | cpp | javascript | python)
|
csharp | cpp | javascript | python)
|
||||||
scheme_file="${lang}/ql/lib/semmlecode.${lang}.dbscheme"
|
scheme_file="${lang}/ql/lib/semmlecode.${lang}.dbscheme"
|
||||||
;;
|
;;
|
||||||
go | ruby | swift)
|
go | ruby | rust | swift)
|
||||||
scheme_file="${lang}/ql/lib/${lang}.dbscheme"
|
scheme_file="${lang}/ql/lib/${lang}.dbscheme"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ codeql_pack(
|
|||||||
srcs = [
|
srcs = [
|
||||||
":root-files",
|
":root-files",
|
||||||
":tools",
|
":tools",
|
||||||
|
"//rust/downgrades",
|
||||||
],
|
],
|
||||||
experimental = True,
|
experimental = True,
|
||||||
)
|
)
|
||||||
|
|||||||
12
rust/downgrades/BUILD.bazel
Normal file
12
rust/downgrades/BUILD.bazel
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
load("@rules_pkg//pkg:mappings.bzl", "pkg_files", "strip_prefix")
|
||||||
|
|
||||||
|
pkg_files(
|
||||||
|
name = "downgrades",
|
||||||
|
srcs = glob(
|
||||||
|
["**"],
|
||||||
|
exclude = ["BUILD.bazel"],
|
||||||
|
),
|
||||||
|
prefix = "downgrades",
|
||||||
|
strip_prefix = strip_prefix.from_pkg(),
|
||||||
|
visibility = ["//rust:__pkg__"],
|
||||||
|
)
|
||||||
3601
rust/downgrades/initial/rust.dbscheme
Normal file
3601
rust/downgrades/initial/rust.dbscheme
Normal file
File diff suppressed because it is too large
Load Diff
5
rust/downgrades/qlpack.yml
Normal file
5
rust/downgrades/qlpack.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
name: codeql/rust-downgrades
|
||||||
|
groups: rust
|
||||||
|
downgrades: .
|
||||||
|
library: true
|
||||||
|
warnOnImplicitThis: true
|
||||||
3601
rust/ql/lib/upgrades/initial/rust.dbscheme
Normal file
3601
rust/ql/lib/upgrades/initial/rust.dbscheme
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user