Commit 10e908e
authored
chore(ci): Update Rust CI to use tip of Dafny's feat-rust branch (#472)
Updates the Rust CI to use the tip of Dafny's `feat-rust` branch. To make this work:
* Reverts all patches to `implementation_from_dafny.rs` as the latest commit fixes all the bugs we were working around.
* Also removes those files from git and ignores them from hence forth!
* Also tweaks polymorph to not delete this file from StandardLibrary (which is why the patch file was creating it from scratch)
* Updates the snapshot of `dafny_runtime_rust` to match.
* Replaces various uses of `dafny_runtime_rust::UpcastTo` with `dafny_runtime_rust::upcast_object()(...)`
* Also implements `UpcastObject` for some of our types as neeeded.
* Updates all patch files (using a local edit to the `RustTestModels` test runner!)1 parent 4afe950 commit 10e908e
93 files changed
Lines changed: 798 additions & 14846 deletions
File tree
- .github/workflows
- TestModels
- Aggregate
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- Constructor/runtimes/rust/src
- conversions
- error
- Refinement
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- Resource
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- get_resources
- error
- SimpleTypes
- SimpleBlob
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleBoolean
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleDouble
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleEnumV2
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleEnum
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleInteger
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleLong
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleString
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- SimpleTimestamp/runtimes/rust/src
- conversions
- error
- Union
- codegen-patches/rust
- runtimes/rust
- dafny_impl/src
- src
- conversions
- error
- dafny-dependencies
- StandardLibrary
- codegen-patches/rust
- runtimes/rust/src
- dafny_runtime_rust
- src
- tests
- codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
1007 | 1007 | | |
1008 | 1008 | | |
1009 | 1009 | | |
1010 | | - | |
| 1010 | + | |
1011 | 1011 | | |
1012 | 1012 | | |
1013 | | - | |
| 1013 | + | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1036 | 1040 | | |
1037 | 1041 | | |
1038 | 1042 | | |
| |||
0 commit comments