File tree 4 files changed +7
-0
lines changed
4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 74
74
unistd
75
75
unraw
76
76
unsync
77
+ wasip1
78
+ wasip2
77
79
wasmbind
78
80
wasmtime
79
81
widestring
Original file line number Diff line number Diff line change 1
1
//! A crate to hold types and functions common to all rustpython components.
2
2
3
+ #![ cfg_attr( all( target_os = "wasi" , target_env = "p2" ) , feature( wasip2) ) ]
3
4
#![ cfg_attr( target_os = "redox" , feature( byte_slice_trim_ascii, new_uninit) ) ]
4
5
5
6
#[ macro_use]
Original file line number Diff line number Diff line change 35
35
//!
36
36
//! The binary will have all the standard arguments of a python interpreter (including a REPL!) but
37
37
//! it will have your modules loaded into the vm.
38
+
39
+ #![ cfg_attr( all( target_os = "wasi" , target_env = "p2" ) , feature( wasip2) ) ]
38
40
#![ allow( clippy:: needless_doctest_main) ]
39
41
40
42
#[ macro_use]
Original file line number Diff line number Diff line change 1
1
// to allow `mod foo {}` in foo.rs; clippy thinks this is a mistake/misunderstanding of
2
2
// how `mod` works, but we want this sometimes for pymodule declarations
3
+
3
4
#![ allow( clippy:: module_inception) ]
5
+ #![ cfg_attr( all( target_os = "wasi" , target_env = "p2" ) , feature( wasip2) ) ]
4
6
#![ cfg_attr( target_os = "redox" , feature( raw_ref_op) ) ]
5
7
6
8
#[ macro_use]
You can’t perform that action at this time.
0 commit comments