From 0c9d3c5292e9959c08492dfe5f6fa37dabd09074 Mon Sep 17 00:00:00 2001 From: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Date: Wed, 25 Oct 2023 17:59:22 +0300 Subject: [PATCH] Gotta love rust nightly-only features Signed-off-by: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b9141bc..5fa9570 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,8 @@ #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![deny(warnings, clippy::cargo, clippy::nursery, unused_extern_crates)] -#![cfg_attr(target_os = "macos", feature(sync_unsafe_cell, stmt_expr_attributes))] +#![feature(stmt_expr_attributes)] +#![cfg_attr(target_os = "macos", feature(sync_unsafe_cell))] use std::path::PathBuf;