Skip to content

Commit 513d078

Browse files
cesarzcswernli
andauthored
Runtime capabilities check pass (#1291)
This change introduces an FIR pass that checks whether a program can run on a target with specific capabilities. Part of the change also improves RCA so we can provide less noisy error messages. --------- Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
1 parent f040303 commit 513d078

File tree

16 files changed

+2775
-110
lines changed

16 files changed

+2775
-110
lines changed

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compiler/qsc_passes/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ license.workspace = true
1111
[dependencies]
1212
miette = { workspace = true }
1313
qsc_data_structures = { path = "../qsc_data_structures" }
14+
qsc_fir = { path = "../qsc_fir" }
1415
qsc_frontend = { path = "../qsc_frontend" }
1516
qsc_hir = { path = "../qsc_hir" }
17+
qsc_rca = { path = "../qsc_rca" }
1618
rustc-hash = { workspace = true }
1719
thiserror = { workspace = true }
1820

1921
[dev-dependencies]
2022
expect-test = { workspace = true }
2123
indoc = { workspace = true }
24+
qsc = { path = "../qsc" }
25+
qsc_eval = { path = "../qsc_eval" }
2226

2327
[lints]
2428
workspace = true

0 commit comments

Comments
 (0)