Commit f1b0fc2
committed
Update the Rust nightly version
This is needed to support the latest version of the virtio-drivers
crate, which in turn is needed to be able to implement a custom
virtio-console driver.
This required some additional changes:
- The `array_chunks` unstable feature is no longer supported
- Switched to using `chunks`
- The `assert_matches` unstable feature has been stabilized
- The `naked_functions` unstable feature has been stabilized
- `compiler_builtins` moved from being a vendored crate to main crate
- `experimental_use_allocator_libraries_with_mangled_symbols` is
needed for FFI
- Latest version of `rules_rust` is also required
- Type coercion for try blocks seems to have changed
- Had to add additional `map_err`s
- Formatting of some pointers changed so had to change one stage0
kernel command-line argument
- `slice::Fill` now also uses compiler intrinsics, which broke the
Restricted Kernel Wrapper, so had to replace it with a manual for
loop
- Many clippy issues had to be fixed
- Including some in oak_private_memory
NOKEYCHECK: test key only.
BUG: 464483492
Change-Id: Ib2e3357df2ba916fb553ccad18df2a8a6a6a69641 parent d1c3b75 commit f1b0fc2
88 files changed
Lines changed: 1577 additions & 1578 deletions
File tree
- bazel/rust
- codelab
- ctf_sha2
- java/src/main/java/com/google/oak/session/jni
- oak_attestation_explain
- src
- tests
- oak_attestation_gcp/src
- jwt
- oak_attestation_verification_cli/src
- oak_attestation_verification
- test_util
- tests
- oak_benchmarks
- oak_cli
- oak_enclave_app
- proto
- oak_channel/src
- oak_containers/agent/src
- oak_enclave_runtime_support/src
- oak_ffi
- oak_freshness_verification/src
- oak_functions_containers_app/src
- oak_functions_enclave_service/tests
- oak_functions_launcher/src
- oak_functions_sdk
- src
- tests/lookup_module/src
- oak_functions_service/src
- wasm
- oak_functions_standalone/src
- oak_functions_test_module/src
- oak_functions/examples/key_value_lookup/module/src
- oak_launcher_utils/src
- oak_private_memory
- analysis
- app
- database
- src
- test
- database
- oak_proto_rust/src
- oak_restricted_kernel_bin/src
- oak_restricted_kernel_launcher/src
- oak_restricted_kernel_sdk/src
- oak_restricted_kernel_wrapper/src
- oak_restricted_kernel/src
- syscall
- oak_session/tls/rust
- example/grpc
- oak_sev_guest/src
- oak_tdx_quote/src
- stage0_sev/src/platform
- stage0/src
- acpi
- hal/base
- pci
- tdx_measurement/src
- testing/oak_echo_service
- src
- tests
- trex
- client/src
- doremint/src
- tr/c2sp
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 | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
969 | | - | |
970 | | - | |
| 968 | + | |
971 | 969 | | |
972 | 970 | | |
973 | 971 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | | - | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| 149 | + | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
| |||
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
173 | | - | |
| 178 | + | |
174 | 179 | | |
175 | 180 | | |
176 | 181 | | |
| |||
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| 206 | + | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
| |||
216 | 222 | | |
217 | 223 | | |
218 | 224 | | |
219 | | - | |
220 | | - | |
| 225 | + | |
| 226 | + | |
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
226 | 232 | | |
| 233 | + | |
227 | 234 | | |
228 | 235 | | |
229 | 236 | | |
| |||
245 | 252 | | |
246 | 253 | | |
247 | 254 | | |
| 255 | + | |
248 | 256 | | |
249 | 257 | | |
250 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments