build: fix warnings

This commit is contained in:
ardocrat 2024-06-17 14:47:01 +03:00
parent 2196fbefa6
commit 3c5f9b8e3a
2 changed files with 1 additions and 3 deletions

View file

@ -25,7 +25,6 @@ deb_depends = ["libssl-dev", "pkg-config"]
[lib]
name="grim"
crate_type=["cdylib", "rlib"]
[dependencies]
log = "0.4"

View file

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use eframe::icon_data::from_png_bytes;
pub fn main() {
#[allow(dead_code)]
#[cfg(not(target_os = "android"))]
@ -35,6 +33,7 @@ fn real_main() {
use std::sync::Arc;
use egui::pos2;
use eframe::icon_data::from_png_bytes;
let platform = Desktop::default();