Skip to content

Redox OS Port: Refcell already borrowed #660

@willnode

Description

@willnode

Hello! I tried to port edit into Redox, and it's compiling well! Interestingly, I got edit crashed at startup.

I look deeper and stumble upon cell.rs, I went to comment out all release scope in that and now it shown this:

thread 'main' (1) panicked at src/tui.rs:773:33:
Refcell already borrowed

Given the same code runs well on Linux I think this is a problem into rust compiler on Redox itself. But I unable to isolate the problem into a simple test.

The code crashed around src/tui.rs:773 and it crashed the first time it hit this code, and I also unable to work around it.

I would like either having a minimal reproducible code around it, or maybe some insight into this problem. I think actually trying to solve this will be hard (I don't know who borrows it?) and I understand the OS is not in your supported target at this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions