Skip to content

Commit

Permalink
resolve main rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
musitdev committed Jun 24, 2024
2 parents 71b53cf + 63b2e39 commit 3f18240
Show file tree
Hide file tree
Showing 261 changed files with 12,078 additions and 6,140 deletions.
75 changes: 65 additions & 10 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,47 @@ xclippy = [
"-Aclippy::enum-variant-names",
"-Aclippy::result-large-err",
"-Aclippy::mutable-key-type",
"-Aclippy::map_identity", # We temporarily ignore this due to: https://github.com/rust-lang/rust-clippy/issues/11764
"-Aclippy::map_identity", # We temporarily ignore this due to: https://github.com/rust-lang/rust-clippy/issues/11764
]
x = "run --package aptos-cargo-cli --bin aptos-cargo-cli --"

[build]
rustflags = ["--cfg", "tokio_unstable", "-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes"]
rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"force-frame-pointers=yes",
"-C",
"force-unwind-tables=yes",
]

# TODO(grao): Figure out whether we should enable other cpu features, and whether we should use a different way to configure them rather than list every single one here.
[target.x86_64-unknown-linux-gnu]
rustflags = ["--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=lld", "-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes", "-C", "target-feature=+sse4.2"]
rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"link-arg=-fuse-ld=lld",
"-C",
"force-frame-pointers=yes",
"-C",
"force-unwind-tables=yes",
"-C",
"target-feature=+sse4.2",
]

[target.aarch64-unknown-linux-gnu]
rustflags = [
"--cfg", "tokio_unstable",
"-C", "link-arg=-fuse-ld=lld",
"-C", "force-frame-pointers=yes",
"-C", "force-unwind-tables=yes",
"-C", "target-feature=+neon"
"--cfg",
"tokio_unstable",
"-C",
"link-arg=-fuse-ld=lld",
"-C",
"force-frame-pointers=yes",
"-C",
"force-unwind-tables=yes",
"-C",
"target-feature=+neon",
]

# 64 bit MSVC
Expand All @@ -40,5 +63,37 @@ rustflags = [
"-C",
"force-unwind-tables=yes",
"-C",
"link-arg=/STACK:8000000" # Set stack to 8 MB
]
"link-arg=/STACK:8000000", # Set stack to 8 MB
]

[target.x86_64-apple-darwin]
rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"link-arg=-fuse-ld=lld",
"-C",
"force-frame-pointers=yes",
"-C",
"force-unwind-tables=yes",
"-C",
"target-feature=+sse4.2",
]

# macOS aarch64
[target.aarch64-apple-darwin]
rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"link-arg=-fuse-ld=lld",
"-C",
"force-frame-pointers=yes",
"-C",
"force-unwind-tables=yes",
"-C",
"target-feature=+neon",
]

[http]
http.check-revoke = false
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REV=9feaf8c47e518e7ff5ee24543e96eb0f7c0b6706
Loading

0 comments on commit 3f18240

Please sign in to comment.