Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
- Removed fuse-ld=mold
- Removed rust version requirement
- Temporary fix for zed-industries#18492
- Temporary fix for servo/pathfinder#571
- Upgraded to wasip2
  • Loading branch information
theoparis committed Sep 29, 2024
1 parent 8aeab48 commit ba486b3
Show file tree
Hide file tree
Showing 5 changed files with 484 additions and 536 deletions.
6 changes: 3 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[build]
# v0 mangling scheme provides more detailed backtraces around closures
rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"]
rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable", "-Clink-arg=-z", "-Clink-arg=nostart-stop-gc"]

[alias]
xtask = "run --package xtask --"

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

[target.aarch64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

# This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
[target.'cfg(target_os = "windows")']
Expand Down
Loading

0 comments on commit ba486b3

Please sign in to comment.