-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustboot compile error with OCaml 3.12 #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Commit 9908629 should fix this; please verify. |
Apologies. I should have done 'make -k'. There are a lot more than this, which I've fixed myself by adding '; _' where suggested. Is that syntax OK in 3.11? If so I can post a diff or push the changes. |
Actually I just got rid of the _ since MODE_alias didn't seem to take an argument, i.e.
Does that look OK? |
'; _' is fine in OCaml 3.11. And that looks good to me. I'd take a pull request, thanks for looking into this :) |
I've put in the pull request, it's issue #172. |
Fixed long ago. |
fix 'cargo run' in README
fixes the bitrig d_namlen compile error
Remove unused link reference.
Add BasicBlock::get_first_use().
) This changes the compilation to use crate type lib instead of binary when we are running rmc on a single .rs file. This allow us to use any public function as a verification target. We have also changed the tests to use pub main so it is exported and it can be used as the entry point of the proof. Fix cargo-rmc and the current testcase to support library build.
…ust-lang#169) Towards model-checking#76 ### Changes * Adds contracts for `<*mut T>::byte_add`, `<*mut T>::byte_sub` and `<*mut T>::byte_offset`. * Adds harnesses for the function verifying the following pointee types: * All integer types * Tuples (composite types) * Unit Type * Slices * Accomplishes this using a few macros. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Co-authored-by: Yifei Wang <[email protected]> Co-authored-by: Yifei Wang <[email protected]>
Changes in OCaml for version 3.12 give compile errors in rustboot:
compile: boot/fe/cexp.ml
File "boot/fe/cexp.ml", line 347, characters 15-24:
Warning 9: the following labels are not bound in this record pattern:
id
Either bind these labels explicitly or add
; _' to the pattern. File "boot/fe/cexp.ml", line 361, characters 15-24: Warning 9: the following labels are not bound in this record pattern: id Either bind these labels explicitly or add
; _' to the pattern.File "boot/fe/cexp.ml", line 1, characters 0-1:
Error: Error-enabled warnings (2 occurrences)
make: *** [boot/fe/cexp.cmx] Error 2
(thanks to Jeff Schultz for confirming this)
The text was updated successfully, but these errors were encountered: