cargo update

We need a newer version of ring in order to compile on M1

refs: #343
This commit is contained in:
Wez Furlong committed 2020-12-05 10:35:00 -08:00
1 parent bbb953610d
commit e86d949dae
5 files changed
+588 -399

No files matched your search

Generated
+585 -395
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -21,6 +21,7 @@ use mux::window::WindowId;
use portable_pty::{CommandBuilder, PtySize};
use rangeset::*;
use serde::{Deserialize, Serialize};
use smol::io::AsyncWriteExt;
use smol::prelude::*;
use std::convert::TryInto;
use std::io::Cursor;
-2
View File
@@ -168,8 +168,6 @@ impl TextStyle {
font.push(FontAttributes::new_fallback("Apple Symbols"));
#[cfg(target_os = "macos")]
font.push(FontAttributes::new_fallback("Zapf Dingbats"));
#[cfg(target_os = "macos")]
font.push(FontAttributes::new_fallback("Apple LiGothic"));
// Fallback font that has unicode replacement character
#[cfg(windows)]
+1 -1
View File
@@ -296,7 +296,7 @@ impl<T: Texture2d> GlyphCache<T> {
return Ok(sprite.clone());
}
let decoded_image = image::load_from_memory(image_data.data())?.to_bgra();
let decoded_image = image::load_from_memory(image_data.data())?.to_bgra8();
let (width, height) = decoded_image.dimensions();
let image = ::window::bitmaps::Image::from_raw(
width as usize,
+1 -1
View File
@@ -968,7 +968,7 @@ impl TermWindow {
fn apply_icon(window: &Window) -> anyhow::Result<()> {
let icon_image =
image::load_from_memory(include_bytes!("../../../assets/icon/terminal.png"))?;
let image = icon_image.to_bgra();
let image = icon_image.to_bgra8();
let (width, height) = image.dimensions();
window.set_icon(Image::from_raw(
width as usize,