mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 08:56:00 +00:00
Currently the macro always provides `CFn`, `RustFn`, `RustArgs`, etc. Change this so that: 1. This information must be explicily requested in the invocation. 2. There is a new `FTy` field available that emits a single float type, rather than a tuple or signature. Additionally, add two new macros that create enums representing function names.
15 lines
257 B
TOML
15 lines
257 B
TOML
[package]
|
|
name = "libm-macros"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
heck = "0.5.0"
|
|
proc-macro2 = "1.0.88"
|
|
quote = "1.0.37"
|
|
syn = { version = "2.0.79", features = ["full", "extra-traits", "visit-mut"] }
|