Skip to content

Commit

Permalink
Renamed Arm Macs to Apple Silicon Macs (#711 (review)).
Browse files Browse the repository at this point in the history
  • Loading branch information
kkysen committed Nov 28, 2022
1 parent b4d774c commit aeb1511
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -100,7 +100,7 @@ On macOS with Homebrew LLVM, you need to point the build system at the LLVM inst
```


- **Arm Macs:**
- **Apple Silicon Macs:**

```sh
LLVM_CONFIG_PATH=/opt/homebrew/opt/llvm/bin/llvm-config cargo install c2rust
Expand Down
2 changes: 1 addition & 1 deletion c2rust-analyze/tests/filecheck.rs
Expand Up @@ -8,7 +8,7 @@ fn detect_filecheck() -> Option<&'static str> {
"FileCheck",
// Intel macOS homebrew location.
"/usr/local/opt/llvm/bin/FileCheck",
// Arm macOS homebrew location.
// Apple Silicon macOS homebrew location.
"/opt/homebrew/opt/llvm/bin/FileCheck",
"FileCheck-14",
"/usr/local/opt/llvm@14/bin/FileCheck",
Expand Down
2 changes: 1 addition & 1 deletion c2rust-build-paths/src/lib.rs
Expand Up @@ -106,7 +106,7 @@ pub fn find_llvm_config() -> Option<PathBuf> {
"/usr/local/opt/llvm@9/bin/llvm-config",
"/usr/local/opt/llvm@8/bin/llvm-config",
"/usr/local/opt/llvm/bin/llvm-config",
// Homebrew install locations on Arm macOS
// Homebrew install locations on Apple Silicon macOS
"/opt/homebrew/opt/llvm@13/bin/llvm-config",
"/opt/homebrew/opt/llvm@12/bin/llvm-config",
"/opt/homebrew/opt/llvm@11/bin/llvm-config",
Expand Down

0 comments on commit aeb1511

Please sign in to comment.