The C++ build started failling with nightly rust:
https://github.com/rust-lang/rust/pull/125174 changed the output of strignify! to contins more spaces between tokens, which we relied on to perform some type substitution from Rust types to C++ types, resulting in compilation errors:
build/api/cpp/generated_include/slint_builtin_structs_internal.h:71:5: error: ‘Option’ does not name a type
71 | Option < core :: ops :: Range < i32 >> replacement_range;
| ^~~~~~
build/api/cpp/generated_include/slint_builtin_structs_internal.h:75:14: error: ‘core’ was not declared in this scope
75 | Option < core :: ops :: Range < i32 >> preedit_selection;
| ^~~~
Workaround by cleaning whitespace before matching the types.
…ghtly Rust
The C++ build started failling with nightly rust: https://github.com/rust-lang/rust/pull/125174 changed the output of strignify! to contins more spaces between tokens, which we relied on to perform some type substitution from Rust types to C++ types, resulting in compilation errors:
Workaround by cleaning whitespace before matching the types.