mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-16 10:25:02 +01:00
change abi
the thing C++ is afraid of
This commit is contained in:
parent
5bce4cc21c
commit
f23662c1f9
4 changed files with 19 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#![deny(clippy::disallowed_type)]
|
||||
#![deny(clippy::disallowed_types)]
|
||||
|
||||
mod ast;
|
||||
mod bytecode;
|
||||
|
|
@ -18,14 +18,14 @@ pub use lex::*;
|
|||
pub use parse::*;
|
||||
|
||||
#[cfg(not(feature = "fxhash"))]
|
||||
#[allow(clippy::disallowed_type)]
|
||||
#[allow(clippy::disallowed_types)]
|
||||
type HashMap<K, V> = std::collections::HashMap<K, V>;
|
||||
|
||||
#[cfg(feature = "fxhash")]
|
||||
type HashMap<K, V> = rustc_hash::FxHashMap<K, V>;
|
||||
|
||||
#[cfg(not(feature = "fxhash"))]
|
||||
#[allow(clippy::disallowed_type)]
|
||||
#[allow(clippy::disallowed_types)]
|
||||
type HashSet<T> = std::collections::HashSet<T>;
|
||||
|
||||
#[cfg(feature = "fxhash")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue