Skip to content
Open
Show file tree
Hide file tree
Changes from 5 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
46 changes: 24 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions api/cpp/cbindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ fn gen_corelib(
"Rect",
"SortOrder",
"BitmapFont",
"DataTransferOpaque",
]
.iter()
.chain(items.iter())
Expand Down Expand Up @@ -579,7 +578,6 @@ fn gen_corelib(
),
(
vec![
"DataTransferOpaque",
"slint_data_transfer_init_default",
"slint_data_transfer_drop",
"slint_data_transfer_clone",
Expand Down
4 changes: 1 addition & 3 deletions api/cpp/include/private/slint_data_transfer.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,8 @@ struct DataTransfer
}

private:
/// Storage matching the size and alignment of `DataTransfer` in `i_slint_core`.
/// All operations on this field go through the `slint_data_transfer_*` FFI functions;
/// it is never inspected directly from C++. See
/// `i_slint_core::data_transfer::ffi::DataTransferOpaque`.
cbindgen_private::types::DataTransferOpaque _inner;
cbindgen_private::types::DataTransfer _inner;
};
}
4 changes: 3 additions & 1 deletion api/rs/slint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ path = "lib.rs"

[features]

default = ["std", "backend-default", "renderer-femtovg", "renderer-software", "accessibility", "compat-1-2"]
# HACK

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this hack? accessibility should already be disabled in the winit/build.rs in that branch.

@eira-fransham eira-fransham Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I checked and this isn't necessary on Linux, but it's required to build on macOS.

# default = ["std", "backend-default", "renderer-femtovg", "renderer-software", "accessibility", "compat-1-2"]
default = ["std", "backend-default", "renderer-femtovg", "renderer-software", "compat-1-2"]

## Mandatory feature:
## This feature is required to keep the compatibility with Slint 1.2
Expand Down
Loading
Loading