mirror of
https://github.com/Noratrieb/evaluate_obligation-fingerprints.git
synced 2026-01-16 03:05:02 +01:00
init
This commit is contained in:
commit
93553d8aae
10 changed files with 218 additions and 0 deletions
1
proc-macro-thing/.gitignore
vendored
Normal file
1
proc-macro-thing/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/target
|
||||
7
proc-macro-thing/Cargo.toml
Normal file
7
proc-macro-thing/Cargo.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "proc-macro-thing"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
6
proc-macro-thing/src/lib.rs
Normal file
6
proc-macro-thing/src/lib.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
use proc_macro::TokenStream;
|
||||
|
||||
#[proc_macro_derive(MyMacro, attributes(helper))]
|
||||
pub fn hello(_: TokenStream) -> TokenStream {
|
||||
"".parse().unwrap()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue