File tree Expand file tree Collapse file tree
payjoin-ffi/javascript/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ if [[ $OS == "Darwin" && -z ${IN_NIX_SHELL:-} ]]; then
1414 echo " LLVM flags set: AR=$AR , CC=$CC "
1515fi
1616
17- # Heinous hack to pin a transitive dependency to be MSRV compatible on 1.85
18- cd node_modules/uniffi-bindgen-react-native
19- cargo add home@=0.5.11 --package uniffi-bindgen-react-native
20- cd ../..
17+ # The ubrn command is compiled from source during the build below, from a
18+ # workspace that ships no lock file, so cargo resolves it fresh every run and
19+ # picks up crates whose MSRV has moved past this shell's toolchain. Ask cargo
20+ # to prefer versions compatible with the rustc in use instead of pinning each
21+ # drifting crate by hand.
22+ export CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback
2123
2224# rustup target add is a no-op against a nix-provided toolchain
2325# (no rustup home, targets baked into the nix derivation instead).
You can’t perform that action at this time.
0 commit comments