Comments (8)
The standard library denies all warnings in its build. One of the warnings the Rust compiler issues is "you added an unsafe {}
block but you didn't need it".
from rust.
Why is Error and unused import in process_vxworks.rs as it is referenced twice in the same file.
Because it is both times referenced by the qualified io::Error
form:
rust/library/std/src/sys/pal/unix/process/process_vxworks.rs
Lines 104 to 116 in 99f77a2
from rust.
For the unused_imports
linting, the qualified form isn't considered to be equal to the unqualified form, and the import makes the unqualified form available.
from rust.
it seems originally @BaoshanPang was the maintainer of these targets.
from rust.
Why are there unsafe errors for unsafe blocks? If I add the whole fn as unsafe and remove unsafe blocks, I'm able to compile for vxworks.
from rust.
The standard library denies all warnings in its build. One of the warnings the Rust compiler issues is "you added an
unsafe {}
block but you didn't need it"
But for vxworks somehow these are not disabled. Is this because we only build the libraries for vxworks.
from rust.
Somehow it thinks libc::pwrite
is not an unsafe extern "C"
function...?
from rust.
Pushed commits to build nightly for vxworks. Current stable source 1.79.0 can be built after applying this patch.
1.79_stable.patch
from rust.
Related Issues (20)
- Tracking Issue for Rustdoc support of RFC3485 `feature-documentation` HOT 2
- Provide a way for `rustdoc` to consume this new information HOT 1
- Unresolved imports when building std without thread local HOT 2
- Trouble setting `default-linker = ...` when building aarch64-unknown-linux-musl Rust target HOT 5
- Return type notation with constant parameter can potentially cause misleading diagnostics
- Async closure argument inference is broken with functions taking `FnOnce() -> futures::TryFuture` HOT 2
- note: this failure-note originates in the macro `diesel::table` HOT 2
- run-make: add a `//@ needs-symlink` directive over `//@ ignore-windows` HOT 1
- Adding an `impl for type defined outside of crate` causes every associated method call to be reported as an error
- The expected type vs. found type in the error `one type is more general than the other` HOT 1
- Detect boolean literals in logical expressions HOT 3
- internal compiler error: cannot convert `'{erased}` to a region vid HOT 1
- ICE `index out of bounds: the len is 0 but the index is 0` HOT 1
- `binary_asm_labels` should suggest a change HOT 3
- ICE: `bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32` HOT 4
- ICE: `failed to resolve instance for ErrorGuaranteed()`
- aarch64-pointer-auth test failing on LLVM 19 HOT 1
- Poorly-documented safety assumptions in `unix::stack_overflow::init` HOT 5
- Bootstrap using `set_times` on a read-only file
- Compiler marks import as unnecessary when it isn't (panic_handler) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.