sigaloid / vial

🧪 a micro micro-framework for rust

Home Page:http://vial.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello world example is broken

alexwennerberg opened this issue · comments

The first example:

localhost:~/dev/hand$ cargo run
   Compiling hand v0.1.0 (/home/alex/dev/hand)
error[E0425]: cannot find function `vial_add_to_router` in module `self`
 --> src/main.rs:9:9
  |
9 |         vial::run!().unwrap();
  |         ^^^^^^^^^^^^ not found in `self`
  |
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

Thanks for maintaining this awesome library. Working on a project that will likely use it soon.

That's odd. It's working for me.
image

What's your Cargo.toml look like?

I bet it’s a rust version issue. I’ll try and debug when i have a chance