Skip to content

Commit 807315f

Browse files
committed
Remove --bin mediator to suppress a warning
warning: Cargo.toml: file `main.rs` found to be present in multiple build targets
1 parent 134c0f6 commit 807315f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- run: cargo run --bin chain-of-responsibility
2525
- run: cargo build --bin command # TUI. It can run on the local machine.
2626
- run: cargo run --bin iterator
27-
- run: cargo run --bin mediator
2827
- run: cargo run --bin mediator-top-down
2928
- run: cargo run --bin mediator-rc-refcell
3029
- run: cargo run --bin memento

behavioral/mediator/mediator-top-down/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ edition = "2021"
33
name = "mediator-top-down"
44
version = "0.1.0"
55

6-
[[bin]]
7-
name = "mediator"
8-
path = "main.rs"
9-
106
[[bin]]
117
name = "mediator-top-down"
128
path = "main.rs"

0 commit comments

Comments
 (0)