Skip to content

Commit

Permalink
[hakari] add aarch64-apple-darwin to config
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Feb 2, 2024
1 parent a63240e commit a546046
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .config/hakari.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ workspace-hack-line-style = "workspace-dotted"
platforms = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]

Expand Down
1 change: 1 addition & 0 deletions tools/hakari/templates/hakari.toml-in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resolver = "2"
platforms = [
# "x86_64-unknown-linux-gnu",
# "x86_64-apple-darwin",
# "aarch64-apple-darwin",
# "x86_64-pc-windows-msvc",
]

Expand Down
5 changes: 5 additions & 0 deletions workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ libc = { version = "0.2.149", default-features = false, features = ["extra_trait
once_cell = { version = "1.19.0" }
rustix = { version = "0.38.21", features = ["fs", "termios"] }

[target.aarch64-apple-darwin.dependencies]
libc = { version = "0.2.149", default-features = false, features = ["extra_traits"] }
once_cell = { version = "1.19.0" }
rustix = { version = "0.38.21", features = ["fs", "termios"] }

[target.x86_64-pc-windows-msvc.dependencies]
once_cell = { version = "1.19.0" }
winapi = { version = "0.3.9", default-features = false, features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "minwinbase", "minwindef", "processenv", "std", "synchapi", "winbase", "wincon", "winerror", "winnt"] }
Expand Down

0 comments on commit a546046

Please sign in to comment.