facebook / facebook/buck2

Apple toolchain not working

Open
#217 11 comments 2 reactions 0 assignees View on GitHub
apple prelude
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Is there any working example using the apple toolchains? I converted a buck project to buck2 but I'm running into the following error when just trying to build a simple `apple_library` target:
` 1: Error looking up configured node none//buck2/platform/toolchain:apple-default (prelude//platforms:default#213ed1b7ab869379) (prelude//platforms:default#213ed1b7ab869379)` (my `.buckconfig` aliases `fbsource` to `none`).

Does the apple toolchain work at all for non-FB developers?

Contributor guide

Open the contributing guide

Research direction

Start with the `.buckconfig` aliases and the simple `apple_library` target described in the report, then reproduce the build and trace the lookup for `buck2/platform/toolchain:apple-default`. Done means a non-FB developer can build the example successfully with the Apple toolchain and the reported configured-node error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.