Skip to content

Commit

Permalink
Remove some Cargo.toml packages that GN no longer complains about
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Jan 22, 2024
1 parent a865830 commit 91393a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions ffi/gn/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions ffi/gn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,9 @@ icu_capi = { version = "1.0", path = "../../ffi/capi", default-features = false,
icu = { version = "1.0", path = "../../components/icu", default-features = false }
icu_provider = { version = "1.0", path = "../../provider/core" }

# TODO: Determine the correct rustflags for memchr
[gn.package.memchr."2.6.3"]
rustflags = []

[gn.package.proc-macro2."1.0.75"]
rustflags = ["--cfg=use_proc_macro", "--cfg=wrap_proc_macro", "--cfg=proc_macro_span"]

# [gn.package.quote."1.0.35"]
# rustflags = []

[gn.package.serde."1.0.160"]
rustflags = []

Expand Down
2 changes: 0 additions & 2 deletions tools/make/gn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ rm -f Cargo.lock
exec --fail-on-error cargo generate-lockfile
# These versions should match what is in icu_capi_gn Cargo.toml
exec --fail-on-error cargo update memchr --precise 2.6.3
exec --fail-on-error cargo update proc-macro2 --precise 1.0.75
exec --fail-on-error cargo update quote --precise 1.0.35
exec --fail-on-error cargo update serde --precise 1.0.160
exec --fail-on-error cargo update serde_derive --precise 1.0.160
exec --fail-on-error cargo update libm --precise 0.2.7
Expand Down

0 comments on commit 91393a8

Please sign in to comment.