Skip to content

Commit

Permalink
Merge pull request #215 from tweag/yuriy.taraday/macos-rust-example
Browse files Browse the repository at this point in the history
Fix Rust example on macOS
  • Loading branch information
mergify[bot] authored Apr 13, 2022
2 parents a0a399f + d0409c2 commit f942fb8
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 250 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ jobs:
with_nix=( $(ls) )
without_nix=( cc go java rust )
if [ "${{ runner.os }}" == "macOS" ]; then
# Rust - https://github.com/tweag/rules_nixpkgs/issues/187
skip with_nix rust
skip without_nix rust
fi
for dir in "${with_nix[@]}"; do
cd "$dir"
echo
Expand Down
2 changes: 1 addition & 1 deletion examples/toolchains/rust/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build:nix --host_platform=@io_tweag_rules_nixpkgs//nixpkgs/platforms:host
build:nix --host_platform=@io_tweag_rules_nixpkgs//nixpkgs/platforms:host --incompatible_enable_cc_toolchain_resolution
Loading

0 comments on commit f942fb8

Please sign in to comment.