Skip to content

Commit

Permalink
fix: give up on openssl entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
acovaci committed Jun 5, 2024
1 parent ba2a4f6 commit 83a5bc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
# - target: aarch64-unknown-linux-gnu
# os: ubuntu-latest
- target: aarch64-apple-darwin
os: macos-latest
# - target: aarch64-pc-windows-msvc
Expand Down
8 changes: 7 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mod cli;

#[tokio::main]
async fn main() {
dotenv::dotenv().ok();
init_env();

skar::core::log::init();

Expand All @@ -14,3 +14,9 @@ async fn main() {
}
}
}

fn init_env() {
if cfg!(debug_assertions) {
dotenv::dotenv().ok();
}
}

0 comments on commit 83a5bc9

Please sign in to comment.