Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a limited prim type lookup for safer const expr evaluation
- Loading branch information
Showing
6 changed files
with
285 additions
and
209 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at jfager@9b1865a
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jfager/rust/r5900 = 9b1865a into auto
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jfager/rust/r5900 = 9b1865a merged ok, testing candidate = 47bb4a51
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3911
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3911
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1755
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3011
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3017
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3926
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3020
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3928
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3019
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3919
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3025
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at jfager@9b1865a
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jfager/rust/r5900 = 9b1865a into auto
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jfager/rust/r5900 = 9b1865a merged ok, testing candidate = 7936bfa7
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3021
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3912
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/1754
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1756
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3912
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3012
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3018
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3927
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3015
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3929
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3015
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3020
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3089
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/867
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3920
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3021
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3026
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/3689
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at jfager@9b1865a
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jfager/rust/r5900 = 9b1865a into auto
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jfager/rust/r5900 = 9b1865a merged ok, testing candidate = 38bbe76d
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3019
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3913
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1757
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3913
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3013
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3928
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3022
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3930
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3021
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3921
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3027
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/3690
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at jfager@9b1865a
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jfager/rust/r5900 = 9b1865a into auto
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jfager/rust/r5900 = 9b1865a merged ok, testing candidate = 078d3ca1
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3021
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3915
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1759
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3915
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3015
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3930
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3024
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3932
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3923
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3029
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at jfager@9b1865a
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jfager/rust/r5900 = 9b1865a into auto
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jfager/rust/r5900 = 9b1865a merged ok, testing candidate = ca39f208
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3918
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3918
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1762
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3018
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3024
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3933
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3027
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3935
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3026
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3926
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3032
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at jfager@9b1865a
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jfager/rust/r5900 = 9b1865a into auto
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jfager/rust/r5900 = 9b1865a merged ok, testing candidate = 5a61812
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3930
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/1772
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1774
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3930
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3030
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3036
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3945
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3033
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3039
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3947
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3033
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3038
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3107
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/885
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3938
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3039
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3044
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/3707
9b1865a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 5a61812