Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions examples/gstreamer-player/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT

// The expansion of cfg_aliases! places macro-emitted semicolons in expression
// position, which nightly rejects by default since 2026-07. Allow it until a
// fixed cfg-aliases release is available.
#![allow(semicolon_in_expressions_from_macros)]

use cfg_aliases::cfg_aliases;

fn main() {
Expand Down
5 changes: 5 additions & 0 deletions internal/backends/linuxkms/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

// The expansion of cfg_aliases! places macro-emitted semicolons in expression
// position, which nightly rejects by default since 2026-07. Allow it until a
// fixed cfg-aliases release is available.
#![allow(semicolon_in_expressions_from_macros)]

use cfg_aliases::cfg_aliases;

fn main() {
Expand Down
5 changes: 5 additions & 0 deletions internal/backends/selector/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

// The expansion of cfg_aliases! places macro-emitted semicolons in expression
// position, which nightly rejects by default since 2026-07. Allow it until a
// fixed cfg-aliases release is available.
#![allow(semicolon_in_expressions_from_macros)]

// cSpell: ignore qttype
use std::path::Path;

Expand Down
5 changes: 5 additions & 0 deletions internal/backends/testing/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

// The expansion of cfg_aliases! places macro-emitted semicolons in expression
// position, which nightly rejects by default since 2026-07. Allow it until a
// fixed cfg-aliases release is available.
#![allow(semicolon_in_expressions_from_macros)]

// cSpell: ignore rsplit Sfixed
fn main() {
cfg_aliases::cfg_aliases! {
Expand Down
5 changes: 5 additions & 0 deletions internal/backends/winit/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

// The expansion of cfg_aliases! places macro-emitted semicolons in expression
// position, which nightly rejects by default since 2026-07. Allow it until a
// fixed cfg-aliases release is available.
#![allow(semicolon_in_expressions_from_macros)]

use cfg_aliases::cfg_aliases;

fn main() {
Expand Down
4 changes: 2 additions & 2 deletions internal/common/builtin_structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#[macro_export]
macro_rules! for_each_builtin_structs {
($macro:ident) => {
$macro![
$macro! {
/// The `KeyboardModifiers` struct provides booleans to indicate possible modifier keys on a keyboard, such as Shift, Control, etc.
/// It is provided as part of `KeyEvent`'s `modifiers` field.
///
Expand Down Expand Up @@ -173,6 +173,6 @@ macro_rules! for_each_builtin_structs {
/// The bottom edge value
bottom: Coord,
}
];
}
};
}
4 changes: 2 additions & 2 deletions internal/common/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#[macro_export]
macro_rules! for_each_enums {
($macro:ident) => {
$macro![
$macro! {
/// This enum describes the different types of alignment of text along the horizontal axis of a `Text` or `StyledText` element.
#[non_exhaustive]
enum TextHorizontalAlignment {
Expand Down Expand Up @@ -684,6 +684,6 @@ macro_rules! for_each_enums {
/// This variant is reported when the operating system is none of the above.
Other,
}
];
}
};
}
5 changes: 5 additions & 0 deletions internal/renderers/skia/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0

// The expansion of cfg_aliases! places macro-emitted semicolons in expression
// position, which nightly rejects by default since 2026-07. Allow it until a
// fixed cfg-aliases release is available.
#![allow(semicolon_in_expressions_from_macros)]

use cfg_aliases::cfg_aliases;

fn main() {
Expand Down
Loading