fusion-engineering / inline-python

Inline Python code directly in your Rust code
https://docs.rs/inline-python
BSD 2-Clause "Simplified" License
1.15k stars 37 forks source link

Macros Errors on MacOS #64

Closed momo-AUX1 closed 7 months ago

momo-AUX1 commented 10 months ago

the error error[E0554]: #![feature] may not be used on the stable release channel --> /Users/mohammed/.cargo/registry/src/index.crates.io-6f17d22bba15001f/inline-python-macros-0.12.0/src/lib.rs:3:12 | 3 | #![feature(proc_macro_span)] | ^^^^^^^^^^^^^^^

For more information about this error, try rustc --explain E0554. error: could not compile inline-python-macros (lib) due to previous error warning: build failed, waiting for other jobs to finish...

Device : Macbook air M2 rust version : edition = "2021"

m-ou-se commented 7 months ago

As mentioned in the readme:

NOTE: Rust nightly toolchain is required.

This crate does not work on stable Rust yet.