Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to the corresponding section, accessing a mutable static variable requires `unsafe` too, and I believe it counts as as language level feature. Add it to the relevant list in the Unsafety section.
- Loading branch information
17697c7
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 SimonSapin@17697c7
17697c7
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 SimonSapin/rust/patch-11 = 17697c7 into auto
17697c7
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.
SimonSapin/rust/patch-11 = 17697c7 merged ok, testing candidate = c631d3d
17697c7
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/5986
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5984
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5080
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5088
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6084
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5172
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5180
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6086
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5171
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5177
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5237
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2973
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6076
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/5172
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5187
17697c7
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 = c631d3d