Skip to content

Commit

Permalink
Fix cfg.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Oct 29, 2023
1 parent 58c9288 commit 3bb2867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td-rs-xtask/src/macos/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::path::{Path, PathBuf};
use std::process::Command;

pub(crate) fn build_plugin(plugin: &str, plugin_type: PluginType) -> anyhow::Result<()> {
let target = if cfg!(arch = "x86_64") {
let target = if cfg!(target_arch = "x86_64") {
"x86_64-apple-darwin"
} else {
"aarch64-apple-darwin"
Expand Down

0 comments on commit 3bb2867

Please sign in to comment.