Commit 14b3c50
committed
fix(wrt-platform): resolve compilation errors blocking CI
Resolves syntax errors preventing CI from building wrt-platform module:
- Fix missing semicolon in linux_ipc.rs line 78 after UnixListener::bind()
- Fix return type mismatches in hardware_optimizations.rs functions:
* ControlFlowEnforcement::is_available() - fix architecture check
* MemoryProtectionKeys::is_available() - fix architecture check
* PhysicalMemoryProtection::is_available() - fix architecture check
* ControlFlowIntegrity::is_available() - fix architecture check
- Fix control flow issues in random.rs PlatformRandom::get_secure_bytes():
* Add explicit return statements for platform-specific branches
* Ensure all code paths return a value
All fixes maintain existing functionality while resolving compilation
failures that were preventing CI builds from completing successfully.
Fixes #991 parent 2ef46c8 commit 14b3c50
File tree
3 files changed
+27
-19
lines changed- wrt-platform/src
3 files changed
+27
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
380 | 382 | | |
381 | 383 | | |
382 | 384 | | |
| |||
429 | 431 | | |
430 | 432 | | |
431 | 433 | | |
432 | | - | |
| 434 | + | |
433 | 435 | | |
434 | 436 | | |
435 | | - | |
| 437 | + | |
436 | 438 | | |
437 | 439 | | |
438 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
439 | 443 | | |
440 | 444 | | |
441 | 445 | | |
| |||
525 | 529 | | |
526 | 530 | | |
527 | 531 | | |
528 | | - | |
| 532 | + | |
529 | 533 | | |
530 | 534 | | |
531 | | - | |
| 535 | + | |
532 | 536 | | |
533 | 537 | | |
534 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
535 | 541 | | |
536 | 542 | | |
537 | 543 | | |
| |||
593 | 599 | | |
594 | 600 | | |
595 | 601 | | |
596 | | - | |
| 602 | + | |
597 | 603 | | |
598 | 604 | | |
599 | | - | |
| 605 | + | |
600 | 606 | | |
601 | 607 | | |
602 | | - | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
603 | 611 | | |
604 | 612 | | |
605 | 613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
0 commit comments