Skip to content

Commit

Permalink
Pull in proc-macro2 1.0.46 for byte order mark fix
Browse files Browse the repository at this point in the history
Without this, our benchmarks fail against the current contents of the
rust-lang/rust repo.

    $ cargo test --release --bench rust --features full,test
    871050 lines in 12914 files
    read_from_disk:     elapsed=0.170s
    tokenstream_parse:  FAIL tests/rust/src/test/ui/json/json-bom-plus-crlf-multifile-aux.rs
    thread 'main' panicked at 'assertion failed: `(left == right)`
      left: `12913`,
     right: `12914`', benches/rust.rs:122:5
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  • Loading branch information
dtolnay committed Sep 29, 2022
1 parent ce00ab0 commit 5f8ddfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
test = ["syn-test-suite/all-features"]

[dependencies]
proc-macro2 = { version = "1.0.39", default-features = false }
proc-macro2 = { version = "1.0.46", default-features = false }
quote = { version = "1.0", optional = true, default-features = false }
unicode-ident = "1.0"

Expand Down

0 comments on commit 5f8ddfb

Please sign in to comment.