Build fix for gcc 4.5.1#179
Merged
1 commit merged intorust-lang:masterfrom Oct 28, 2010
rillian:gcc-4.5.1
Merged
Conversation
On gcc 4.5.1 (fedora 14 i686) rust_test_runtime.cpp fails to compile with the following error: rt/test/rust_test_runtime.cpp:57:61: error: passing NULL to non-pointer argument 3 of ‘void rust_task::start(uintptr_t, uintptr_t, uintptr_t, size_t)’ The explicit cast works around the error.
oli-obk
pushed a commit
to oli-obk/rust
that referenced
this pull request
Jul 19, 2017
update for upstream ParamEnv changes
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this pull request
Dec 12, 2017
Bump to 0.2.7
kazcw
pushed a commit
to kazcw/rust
that referenced
this pull request
Oct 23, 2018
rchaser53
pushed a commit
to rchaser53/rust
that referenced
this pull request
Jan 19, 2019
Update compiler test documentation
ZuseZ4
referenced
this pull request
in EnzymeAD/rust
Mar 7, 2023
* lu cuda test opt * tmp * re-enable work * nocache * Conditional enable register reduction * Update enzyme/Enzyme/GradientUtils.cpp Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com> * Update enzyme/Enzyme/GradientUtils.cpp Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com> Co-authored-by: Valentin Churavy <v.churavy@gmail.com> Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com>
carolynzech
pushed a commit
to celinval/rust-dev
that referenced
this pull request
Dec 13, 2024
Towards model-checking#76 ## Changes ### Contracts Added: - Added contracts for <*mut T>::add, <*mut T>::sub, and <*mut T>::offset operations for raw pointers to slices. ### Proofs Implemented: - Added proofs for the above contracts, verifying safety for the following slice pointee types using arrays: - All integer types (i8, i16, i32, etc.). - Tuples (composite types) (e.g., (i8, i8), (i32, f64, bool)). - Unit type (()). ### Macro Definitions: - Introduced macros to simplify and automate harness generation: - One macro for add and sub operations on slices. - Another macro for offset operations on slices. ### Array-Based Implementation for Slice Verification: - Arrays are used as a proxy for slices (as slices do not have a known length at compile time) to enable proper bounds checking and assumptions during verification.
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The runtime test harness fails to compile under gcc 4.5.1 on Fedora 14.
Add a cast to make the compiler happy.