mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-08 05:35:24 +00:00

``` warning: output filename collision. The bin target `printerdemo` in package `printerdemo v1.5.0 (C:\dev\slint\examples\printerdemo\rust)` has the same output filename as the lib target `printerdemo` in package `printerdemo v1.5.0 (C:\dev\slint\examples\printerdemo\rust)`. Colliding filename is: C:\dev\slint\target\debug\deps\printerdemo.pdb The targets should have unique names. Consider changing their names to be unique or compiling them separately. This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>. ```
9 lines
267 B
Rust
9 lines
267 B
Rust
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
// In order to be compatible with both desktop, wasm, and android, the example is both a binary and a library.
|
|
// Just forward to the library in main
|
|
|
|
fn main() {
|
|
todo_lib::main();
|
|
}
|