mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 13:28:48 +00:00

It uses the syn crate to parse the function, so the name can now be extracted without the `find_name` helper.
15 lines
257 B
TOML
15 lines
257 B
TOML
[package]
|
|
name = "simd-test-macro"
|
|
version = "0.1.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
test = false
|
|
|
|
[dependencies]
|
|
proc-macro2 = "1.0"
|
|
quote = "1.0"
|
|
syn = { version = "2.0", features = ["full"] }
|