Skip to content

Commit

Permalink
Force tiny-skia backend for Redox
Browse files Browse the repository at this point in the history
  • Loading branch information
shartrec committed Jul 12, 2024
1 parent ca112a0 commit cf8b697
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ pub(crate) mod conversions;
/// Calculate.
fn main() -> iced::Result {

#[cfg(target_os = "redox")]
// todo Remove when we can
#[cfg(target_os = "x86_64-unknown-redox")]
{
std::env::set_var("ICED_BACKEND", "tiny-skia");
}
Expand Down

0 comments on commit cf8b697

Please sign in to comment.