Skip to content

Conversation

@androm3da
Copy link
Contributor

QuRT provides POSIX-like APIs for basic operations, so this implementation reuses the unix platform abstraction layer with QuRT-specific customizations.

Platform modules:

  • New os::qurt module with platform-specific extensions to ffi, fs, io, raw
  • QuRT-specific file handling for ino, dev, mode, nlink, etc.

Unsupported: Networking, fork/exec, pipe, chown/fchown/lchown/chroot/mkfifo

QuRT provides POSIX-like APIs for basic operations, so this implementation
reuses the unix platform abstraction layer with QuRT-specific customizations.

Platform modules:
- New os::qurt module with platform-specific extensions to ffi, fs, io, raw
- QuRT-specific file handling for ino, dev, mode, nlink, etc.

Unsupported: Networking, fork/exec, pipe, chown/fchown/lchown/chroot/mkfifo
@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 4, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 4, 2026

r? @joboet

rustbot has assigned @joboet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@androm3da androm3da force-pushed the bcain/qurt-libstd-support branch from 791d71f to 3201966 Compare February 4, 2026 15:11
@androm3da
Copy link
Contributor Author

This PR depends on a newer version of the libc crate - maybe I'll let this PR hang here for a bit and check back in when it gets released and promoted?

@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-20-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] object test:false 8.081
error[E0308]: mismatched types
    --> library/std/src/sys/process/unix/unix.rs:408:56
     |
 408 |         libc::execvp(self.get_program_cstr().as_ptr(), self.get_argv().as_ptr() as *const *mut _);
     |         ------------                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
     |         |
     |         arguments to this function are incorrect
     |
     = note: expected raw pointer `*const *const u8`
                found raw pointer `*const *mut _`
note: function defined here
    --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.178/src/unix/mod.rs:1046:12
     |
1046 |     pub fn execvp(c: *const c_char, argv: *const *const c_char) -> c_int;
     |            ^^^^^^

For more information about this error, try `rustc --explain E0308`.
[RUSTC-TIMING] std test:false 6.188
error: could not compile `std` (lib) due to 1 previous error

@joboet
Copy link
Member

joboet commented Feb 7, 2026

This PR depends on a newer version of the libc crate - maybe I'll let this PR hang here for a bit and check back in when it gets released and promoted?

You need libc at 0.2.179, right? You can update libc here – but please keep it in a separate commit.

@joboet
Copy link
Member

joboet commented Feb 7, 2026

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 7, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@androm3da
Copy link
Contributor Author

This PR depends on a newer version of the libc crate - maybe I'll let this PR hang here for a bit and check back in when it gets released and promoted?

You need libc at 0.2.179, right? You can update libc here – but please keep it in a separate commit.

The commit I need - rust-lang/libc@9934c04 is not yet tagged/released. Or rather there is a ctest-* tag but I suspect that doesn't apply/not intended use for that tag. Should I try to execute a tag/release of libc, or just wait for that to happen naturally?

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 9, 2026

☔ The latest upstream changes (presumably #152373) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-unix Operating system: Unix-like S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants