-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi, I'm getting an error when trying to compile a contract with a drink-based test.
[...]
error[E0773]: attempted to define built-in macro more than once
--> /Users/maciej/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1449:5
|
1449 | macro_rules! cfg {
| ^^^^^^^^^^^^^^^^
|
note: previously defined here
--> /Users/maciej/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1449:5
|
1449 | macro_rules! cfg {
|
[...]
Here's my Cargo.toml:
[package]
name = "stablecoin"
version = "0.1.0"
edition = "2021"
authors = ["Maciej Nadolski", "Yuchen Lin"]
[dependencies]
drink = "0.8.0"
ink = { version = "5.0.0", default-features = false }
[lib]
path = "src/stablecoin.rs"
[features]
default = ["std"]
std = [
"ink/std",
]
ink-as-dependency = []
e2e-tests = []
Please help :)
Metadata
Metadata
Assignees
Labels
No labels