Bug 1268727 - part 2 - compile Rust code with panic=abort; r=chmanchester
authorNathan Froyd <froydnj@gmail.com>
Tue, 09 Aug 2016 18:10:19 -0400
changeset 308768 03fbe28e5a1084a2496fdae846b10c607434bdc7
parent 308767 ff7143a7f30fe286f6b353c44b152c4d3c599b17
child 308769 c8be3efb34863ed1b532536c3cc77ad46340d497
push id80410
push usernfroyd@mozilla.com
push dateTue, 09 Aug 2016 14:12:03 +0000
treeherdermozilla-inbound@a5fdb733058b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1268727
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1268727 - part 2 - compile Rust code with panic=abort; r=chmanchester
toolkit/library/gtest/rust/Cargo.toml
toolkit/library/rust/Cargo.toml
--- a/toolkit/library/gtest/rust/Cargo.toml
+++ b/toolkit/library/gtest/rust/Cargo.toml
@@ -21,20 +21,22 @@ harness = false
 # Explicitly specify what our profiles use.
 [profile.dev]
 opt-level = 1
 debug = true
 rpath = false
 lto = false
 debug-assertions = true
 codegen-units = 1
+panic = "abort"
 
 [profile.release]
 opt-level = 2
 debug = true
 rpath = false
 # This would normally be 'true' for release configurations, but using LTO on
 # rul-gtest causes link failures due to symbols also being found in libxul's
 # librul.a.  But LTO'ing things here is not crucial and not LTO'ing things
 # enables us to link libxul-gtest, so we leave it turned off.
 lto = false
 debug-assertions = false
 codegen-units = 1
+panic = "abort"
--- a/toolkit/library/rust/Cargo.toml
+++ b/toolkit/library/rust/Cargo.toml
@@ -21,15 +21,17 @@ harness = false
 # Explicitly specify what our profiles use.
 [profile.dev]
 opt-level = 1
 debug = true
 rpath = false
 lto = false
 debug-assertions = true
 codegen-units = 1
+panic = "abort"
 
 [profile.release]
 opt-level = 2
 debug = true
 rpath = false
 lto = true
 debug-assertions = false
+panic = "abort"