]> git.lizzy.rs Git - rust.git/commit
Check that the feature strings are well-formed
authorAndrea Canciani <ranma42@gmail.com>
Wed, 20 Apr 2016 07:09:30 +0000 (09:09 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 20 Apr 2016 07:09:30 +0000 (09:09 +0200)
commitce99a5e5d8ead9140bb9b48c01f1a200950f8ea3
treef904c2521dca6df81258dd99bbfebfba6f80037e
parentdeaa2fe7536e395a890f910019a820b36f2cd992
Check that the feature strings are well-formed

Assert that the feature strings are NUL terminated, so that they will
be well-formed as C strings.

This is a safety check to ease the maintaninace and update of the
feature lists.
src/librustc_driver/target_features.rs