File tree Expand file tree Collapse file tree 4 files changed +8
-17
lines changed
Expand file tree Collapse file tree 4 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 5555 rustflags : " "
5656
5757 - name : build ${{ matrix.config.name }}
58- if : ${{ !contains(matrix.config.os, 'macos') }}
5958 run : cargo build --release
6059
61- - name : build ${{ matrix.config.name }}
62- if : ${{ contains(matrix.config.os, 'macos') }}
63- run : MACOSX_DEPLOYMENT_TARGET="13" cargo build --release
64-
6560 - name : prepare ${{ matrix.config.name }}
6661 run : |
6762 # rename builds to be unique
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use std::{
44} ;
55
66use anyhow:: { Context , Result } ;
7- use clap:: { Parser , Subcommand , command } ;
7+ use clap:: { Parser , Subcommand } ;
88use defold_nvim_core:: {
99 editor,
1010 focus:: { focus_game, focus_neovim} ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ fn main ( ) {
2+ let target_os = std:: env:: var ( "CARGO_CFG_TARGET_OS" ) . unwrap ( ) ;
3+ if target_os == "macos" {
4+ println ! ( "cargo:rustc-link-arg=-undefined" ) ;
5+ println ! ( "cargo:rustc-link-arg=dynamic_lookup" ) ;
6+ }
7+ }
You can’t perform that action at this time.
0 commit comments