File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Rust
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Install Rust
19+ uses : actions-rs/toolchain@v1
20+ with :
21+ toolchain : nightly-2024-11-01
22+
23+ - name : Build
24+ run : cargo build --verbose
25+
26+ - name : Run tests
27+ run : cargo test --verbose
Original file line number Diff line number Diff line change 11#[ cfg( all( unix, not( target_os = "macos" ) ) ) ]
22fn main ( ) {
33 // add unix dependencies below
4- println ! ( "cargo:rustc-flags=-l readline" ) ;
4+ // println!("cargo:rustc-flags=-l readline");
5+ println ! ( "cargo:rustc-link-arg=-Wl,-undefined,dynamic_lookup" ) ; // Add additional linker flags
56}
67
78#[ cfg( target_os = "macos" ) ]
You can’t perform that action at this time.
0 commit comments