Skip to content

Commit 4f9a30c

Browse files
committed
Add extra traits to syn
Building c2rust-ast-printer alone requires the "extra-traits" feature of syn.
1 parent 893da87 commit 4f9a30c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c2rust-ast-builder/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ description = "Rust AST builder support crate for the C2Rust project"
1212

1313
[dependencies]
1414
proc-macro2 = { version = "1.0", features = ["span-locations"]}
15-
syn = { version = "1.0", features = ["full", "proc-macro", "printing"] }
15+
syn = { version = "1.0", features = ["full", "extra-traits", "printing"]}

c2rust-transpile/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ serde_json = "1.0"
3737
smallvec = "1.0"
3838
strum = "0.24"
3939
strum_macros = "0.24"
40-
syn = { version = "1.0", features = ["full", "parsing", "printing"]}
40+
syn = { version = "1.0", features = ["full", "extra-traits", "parsing", "printing"]}
4141

4242
[features]
4343
# Force static linking of LLVM

0 commit comments

Comments
 (0)