Commit 4f75199
Revert model-checking#3539 and reuse rust backend infrastructure instead (model-checking#3545)
Replace the body by a call to link_binary as other backend
implementations do, e.g.
[rustc_codegen_gcc](https://github.com/rust-lang/rust/blob/648d024a7859e1ab7fdffe5e419b6e35ccb16a4a/compiler/rustc_codegen_gcc/src/lib.rs#L269-L271).
Also remove the implementation of `metadata_loader` which has a [default
body](https://github.com/rust-lang/rust/blob/11e760b7f4e4aaa11bf51a64d4bb7f1171f6e466/compiler/rustc_codegen_ssa/src/traits/backend.rs#L58-L60).
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
---------
Co-authored-by: Michael Tautschnig <[email protected]>1 parent 9dc09e7 commit 4f75199
File tree
3 files changed
+13
-345
lines changed- kani-compiler
- src/codegen_cprover_gotoc
3 files changed
+13
-345
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 251 | | |
261 | 252 | | |
262 | 253 | | |
| |||
485 | 476 | | |
486 | 477 | | |
487 | 478 | | |
488 | | - | |
489 | 479 | | |
490 | 480 | | |
491 | 481 | | |
| |||
728 | 718 | | |
729 | 719 | | |
730 | 720 | | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | 721 | | |
745 | 722 | | |
746 | 723 | | |
| |||
1427 | 1404 | | |
1428 | 1405 | | |
1429 | 1406 | | |
1430 | | - | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | | - | |
1439 | 1407 | | |
1440 | 1408 | | |
1441 | 1409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
| |||
0 commit comments