Commit ef5bf0e
gccrs: Define constructor for LoadedCrate struct
Aggregate initialization does not compile properly for LoadedCrate in C++20.
gcc/rust/ChangeLog:
* rust-session-manager.h (Session::LoadedCrate): Add explicit constructor.
Signed-off-by: Yap Zhi Heng <yapzhhg@gmail.com>1 parent f50d08d commit ef5bf0e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
464 | 469 | | |
465 | 470 | | |
466 | 471 | | |
| |||
0 commit comments