Commit 7639263
committed
fix: macOS/Windows build for ttrpc TAP cfg gates
Revert TapHandle to cfg(unix) since it's just a data type carrying an
OwnedFd. Use unconditional Backend::Tap match arm with cfg blocks inside
the body to avoid all-diverging-arms warnings on macOS.1 parent ee13750 commit 7639263
3 files changed
Lines changed: 27 additions & 15 deletions
File tree
- openvmm/openvmm_entry/src/ttrpc
- petri/burette/src/tests
- vm/devices/net/net_backend_resources/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
707 | 711 | | |
708 | 712 | | |
709 | 713 | | |
| |||
724 | 728 | | |
725 | 729 | | |
726 | 730 | | |
727 | | - | |
728 | 731 | | |
729 | | - | |
730 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
731 | 742 | | |
732 | 743 | | |
733 | 744 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
413 | 420 | | |
414 | 421 | | |
415 | | - | |
416 | | - | |
417 | | - | |
| 422 | + | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| |||
494 | 499 | | |
495 | 500 | | |
496 | 501 | | |
497 | | - | |
498 | | - | |
| 502 | + | |
499 | 503 | | |
500 | 504 | | |
501 | 505 | | |
| |||
510 | 514 | | |
511 | 515 | | |
512 | 516 | | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
| 517 | + | |
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments