diff --git a/Cargo.lock b/Cargo.lock index a57f99854f..08e9c92d7f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2423,7 +2423,7 @@ checksum = "216080ab382b992234dda86873c18d4c48358f5cfcb70fd693d7f6f2131b628b" [[package]] name = "rio" -version = "0.0.16" +version = "0.0.17" dependencies = [ "base64", "bitflags 2.3.3", @@ -2740,7 +2740,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "sugarloaf" -version = "0.0.16" +version = "0.0.17" dependencies = [ "bytemuck", "console_error_panic_hook", @@ -2767,7 +2767,7 @@ dependencies = [ [[package]] name = "sugarloaf-styled-text" -version = "0.0.16" +version = "0.0.17" dependencies = [ "console_error_panic_hook", "console_log", diff --git a/Makefile b/Makefile index 6b9b80e622..40e77675cb 100644 --- a/Makefile +++ b/Makefile @@ -115,10 +115,10 @@ bump-brew: # TODO: Move to bin path release-x11: RUSTFLAGS='-C link-arg=-s' cargo build --release --no-default-features --features=x11 - WINIT_UNIX_BACKEND=x11 target/release/rio + target/release/rio release-wayland: RUSTFLAGS='-C link-arg=-s' cargo build --release --no-default-features --features=wayland - WINIT_UNIX_BACKEND=wayland target/release/rio + target/release/rio # Debian # cargo install cargo-deb diff --git a/sugarloaf/src/font/mod.rs b/sugarloaf/src/font/mod.rs index f7dc90fb62..3e3996baa4 100644 --- a/sugarloaf/src/font/mod.rs +++ b/sugarloaf/src/font/mod.rs @@ -246,7 +246,7 @@ impl Font { } #[cfg(target_arch = "wasm32")] - pub fn new(_font_name: Fonts) -> Font { + pub fn new(_font_spec: SugarloafFonts) -> Font { let font_arc_unicode = FontArc::try_from_slice(FONT_UNICODE_FALLBACK).unwrap(); let font_arc_symbol = FontArc::try_from_slice(FONT_DEJAVU_SANS).unwrap();