Comments (10)
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.
Update: After the previous rollup merge, most of the errors are fixed for VxWorks, except for libc references. I have a few doubts.
- After a change to master rust libc repo, how long before the changes are reflected in the crates downloaded using cargo?
- I Would like to contribute to the the rust. Can I add myself to libs review rotation?
- What are the requirements to be a contributor?
- How to get these changes to stable 1.80?
- I build the compiler with command
x build -i --target={vxworks_target} -j 10
. The compiler build is 1.79.0-dev. I would like to remove dev from this.
Thanks.
from rust.
Also in the previous pr, I wasn't able to add this file because clang tidy failed. I tried various methods to format the file vxworks.md this but still clang tidy check failed. ab90323
- Used online tools to tab indent this.
- Ran
x.py fmt
. (This did not seem to do anything.)
from rust.
Related Issues (20)
- Should `Mutex` and `Condvar` respect priorities? HOT 2
- ICE: `unable to construct a valtree for the unevaluated constant` HOT 3
- fs::read_to_string(config.src.join("src/ci/channel")) failed with No such file or directory (os error 2) HOT 4
- Regression in `type annotations needed for` check between 1.79 and 1.80 HOT 2
- Jump threading MIR opt unsoundly uses bitpattern equality for floats HOT 15
- ICE: `trait takes 1 generic argument but 0 generic arguments were supplied` HOT 2
- Bug when using `cargo check` (my program works with `cargo run`) HOT 1
- zero-sized slices are sometimes placed at 0x1 (1.79+) HOT 15
- Documentation of default value for config.toml's `rust.channel` is inaccurate
- Rustdoc: struct fields are spaced too closely HOT 3
- [Enhancement]: `must_use_xor` to Force Using One of the Functions but not all in a Struct HOT 1
- false positive `dead_code` "never constructed" warning on 1.80.0 for a `struct` where the constructor takes `&'static self` HOT 11
- rustc_contracts: differentiate between exhaustive and non-exhaustive contracts
- ICE: The Rust Compiler Panicked After I Removed A Windows SDK HOT 4
- rustc book does not document RUST_TARGET_PATH HOT 1
- Tracking Issue for `nonzero_bitwise`
- Linking with `rust-lld` causes SIGSEGV in FFI code HOT 7
- Effective breakage to `jiff` due to `ambiguous_negative_literals` HOT 3
- Tracking Issue for `float_semantics` RFC 3514 HOT 1
- Spurious CI failures on x86_64-msvc-ext: "failed to remove file `C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe`" HOT 1
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.