Suppress related warnings, fix nanoid, and get the build green (#7579)

This is in preparation for adding a Linux build step to our CI.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-02-08 09:32:53 -08:00 committed by GitHub
parent 8f7d7863d6
commit d4be15b2b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 18 additions and 12 deletions

View file

@ -1,18 +1,12 @@
//todo!(linux) remove
#[allow(unused)]
use crate::{
Bounds, DevicePixels, Font, FontId, FontMetrics, FontRun, GlyphId, LineLayout, Pixels,
PlatformTextSystem, RenderGlyphParams, SharedString, Size,
};
use anyhow::Result;
use collections::HashMap;
use font_kit::{
font::Font as FontKitFont,
handle::Handle,
hinting::HintingOptions,
metrics::Metrics,
properties::{Style as FontkitStyle, Weight as FontkitWeight},
source::SystemSource,
sources::mem::MemSource,
};
use font_kit::{font::Font as FontKitFont, source::SystemSource, sources::mem::MemSource};
use parking_lot::RwLock;
use smallvec::SmallVec;
use std::borrow::Cow;