Fix redox

This commit is contained in:
Noa
2025-01-06 12:54:04 -06:00
parent 8ac7e34be2
commit 8c7bfb3e1a
4 changed files with 4 additions and 1 deletions

View File

@@ -229,6 +229,7 @@ jobs:
uses: coolreader18/redoxer-action@v1
with:
command: check
args: --ignore-rust-version
snippets_cpython:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}

View File

@@ -1,6 +1,6 @@
//! A crate to hold types and functions common to all rustpython components.
#![cfg_attr(target_os = "redox", feature(byte_slice_trim_ascii))]
#![cfg_attr(target_os = "redox", feature(byte_slice_trim_ascii, new_uninit))]
#[macro_use]
mod macros;

View File

@@ -1,6 +1,7 @@
// to allow `mod foo {}` in foo.rs; clippy thinks this is a mistake/misunderstanding of
// how `mod` works, but we want this sometimes for pymodule declarations
#![allow(clippy::module_inception)]
#![cfg_attr(target_os = "redox", feature(raw_ref_op))]
#[macro_use]
extern crate rustpython_derive;

View File

@@ -13,6 +13,7 @@
#![allow(clippy::upper_case_acronyms)]
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/main/logo.png")]
#![doc(html_root_url = "https://docs.rs/rustpython-vm/")]
#![cfg_attr(target_os = "redox", feature(raw_ref_op))]
#[cfg(feature = "flame-it")]
#[macro_use]