learningOS飞腾派开源技术社区
  • 训练营
  • 明星学员
  • 项目实习
  • 问答论坛
登录
    Copyright © 2024 opencamp.ai All rights reserved.
    rustc 1.81.0-nightly 编译 ArceOS 的飞腾派版本报错
    李明2024/07/19 14:37:13提问2024/07/19 14:40:31更新
      arceosphytium-pi
    631
    $ rustc --version
    rustc 1.81.0-nightly (5affbb171 2024-07-18)
    
    $ make A=apps/cli PLATFORM=aarch64-phytium-pi LOG=debug
    
    error[E0049]: method `vaddr_is_valid` has 1 const parameter but its trait declaration has 0 const parameters
     --> crates/page_table/src/lib.rs:59:1
      |
    59 | #[const_trait]
      | ^^^^^^^^^^^^^^ found 1 const parameter
    ...
    79 |   fn vaddr_is_valid(vaddr: usize) -> bool {
      |           - expected 0 const parameters
    
    For more information about this error, try `rustc --explain E0049`.
    error: could not compile `page_table` (lib) due to 1 previous error
    
    回答(1)
    即可发布评论
      推荐问答
        Simple Empty
        暂无数据