dtor 0.11.0

__attribute__((destructor)) for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: Duplicate meta attribute: 'method = ... ,
 --> tests/errors/dtor_duplicate.rs:3:1
  |
3 | #[dtor(method = term, method = unload)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `$crate::__extract_meta` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)

error: Duplicate meta attribute: 'no_warn_on_missing_unsafe = ... ,
 --> tests/errors/dtor_duplicate.rs:7:1
  |
7 | #[dtor(unsafe, unsafe)]
  | ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `$crate::__extract_meta` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)