mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
replace panic! by warn!
This commit is contained in:
parent
7f169c4e75
commit
cb843011c0
1 changed files with 6 additions and 2 deletions
|
@ -21,7 +21,11 @@
|
|||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate regex;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
use regex::RegexSet;
|
||||
use std::str;
|
||||
|
@ -68,11 +72,11 @@ fn rename_sections(fname: String)
|
|||
.expect("objcopy failed to start");
|
||||
|
||||
if !status.success() {
|
||||
panic!("unable to rename sections!")
|
||||
warn!("unable to rename sections!")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
panic!("unable to determine section names");
|
||||
warn!("unable to determine section names");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue