Skip to content

Commit 288b632

Browse files
committed
Update docs with Rust toolchain requirements
1 parent f2f269c commit 288b632

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ fn main() {
2222

2323
Use the `python!{..}` macro to write Python code directly in your Rust code.
2424

25+
_NOTE:_ Rust **nightly** toolchain is required. Feature `proc_macro_span` is still unstable, for more details check out [issue #54725 -
26+
Tracking issue for `proc_macro::Span` inspection APIs](https://github.com/rust-lang/rust/issues/54725)
27+
2528
### Using Rust variables
2629

2730
To reference Rust variables, use `'var`, as shown in the example above.

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
//!
1919
//! Use the `python!{..}` macro to write Python code directly in your Rust code.
2020
//!
21+
//! _NOTE:_ Rust **nightly** toolchain is required. Feature `proc_macro_span` is still unstable,
22+
//! for more details check out [issue #54725](https://github.com/rust-lang/rust/issues/54725) - Tracking issue for `proc_macro::Span` inspection APIs
23+
//!
2124
//! ## Using Rust variables
2225
//!
2326
//! To reference Rust variables, use `'var`, as shown in the example above.

0 commit comments

Comments
 (0)