Skip to content

Commit 38fd831

Browse files
committed
use pure rust linking
1 parent c5449fd commit 38fd831

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ build:
5555
- REST_EXT_DIR="${SRC_DIR}/rest_deps/lib"
5656
- HDF5_DIR="${BUILD_PREFIX}"
5757
#- REST_FORTRAN_COMPILER: $F90
58-
- RUSTFLAGS="-C target-feature=-crt-static -C link-self-contained=yes"
5958
script: |
6059
cd rest
6160
mkdir ../rest_deps
@@ -67,6 +66,7 @@ build:
6766
# export REST_HOME=".."
6867
export REST_FORTRAN_COMPILER=$F90
6968
echo RESTFORT${REST_FORTRAN_COMPILER}
69+
export RUSTFLAGS="-C target-feature=-crt-static -C link-self-contained=yes"
7070
# cargo build --release --verbose --target=x86_64-unknown-linux-gnu
7171
cargo install --path . --profile release --root ${PREFIX}
7272
mkdir -p ${PREFIX}/share/rest/

0 commit comments

Comments
 (0)