Repository: serenity-rs/serenity (language: rust)

Issue:
Build fails on Mac because .cargo/config.toml has CPU architecture set to haswell
Problem: running the examples or otherwise trying to build this repo fails on my machine (Mac M1, Apple Silicon).

The error message is:
```
'haswell' is not a recognized processor for this target (ignoring processor)
```

The issue seems to be because of this line: https://github.com/serenity-rs/serenity/blob/4e5189c5afbd48005eb6b77d916182da103437d7/.cargo/config.toml#L2

Once I changed it to "target-cpu=native" it worked.


Discussion / hints:
We can remove this file entirely now, as we don't use simd-json anymore.

Fix patch:
diff --git a/.cargo/config.toml b/.cargo/config.toml
deleted file mode 100644
index 943198092c4..00000000000
--- a/.cargo/config.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-[build]
-rustflags = ["-C", "target-cpu=haswell"]
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 52cfca9bf90..7726b2d18fa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -128,9 +128,6 @@ jobs:
       - name: Cache
         uses: Swatinem/rust-cache@v2
 
-      - name: Remove cargo build config
-        run: rm .cargo/config.toml
-
       - name: Build
         run: cargo build
 


Test patch: