Skip to content

Commit

Permalink
[cleanup] fix config-patch (#17180)
Browse files Browse the repository at this point in the history
## Description 

- No idea what I'm doing, but the patch applies cleanly now

## Test plan 

- The patch applies 

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
  • Loading branch information
tnowacki authored Apr 16, 2024
1 parent 7937089 commit 3600827
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions scripts/simtest/config-patch
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
diff --git a/.cargo/config b/.cargo/config
index 7369a2afce..5254870044 100644
index ec2c459490..55985cbe9f 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -20,11 +20,11 @@ move-clippy = [
"-Aclippy::upper_case_acronyms",
"-Aclippy::type_complexity",
# Remove after https://github.com/rust-lang/rust-clippy/pull/11792 is released.
"-Aclippy::map_identity",
"-Aclippy::new_without_default",
"-Aclippy::box_default",
"-Aclippy::manual_slice_size_calculation",
@@ -25,4 +25,4 @@ move-clippy = [
]

[build]
-rustflags = ["-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes"]
+rustflags = ["-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes", "--cfg", "msim"]
diff --git a/Cargo.toml b/Cargo.toml
index 3b1ca4591c..e4ff4d61d2 100644
index c0829bc1b6..4007f97d66 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -668,2 +668,6 @@ semver = "1.0.16"
@@ -682,3 +682,7 @@ field_names = "0.2.0"
semver = "1.0.16"
spinners = "4.1.0"
include_dir = "0.7.3"
+
Expand Down

0 comments on commit 3600827

Please sign in to comment.