Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Commit 05c8f3c

Browse files
committed
Do not strip exception handlers; bloats binaries.
This is a temporary solution to allow exceptions happening while waiting for some resolution at rust-lang/rust#17886
1 parent 9646397 commit 05c8f3c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ when 'stm32f4'
181181
task :build_all => [:build_blink_stm32f4]
182182
when 'stm32l1'
183183
task :build_all => [:build_blink_stm32l1]
184-
else
185-
task :build_all => [:build_empty, :build_blink]
184+
when 'lpc17xx'
185+
task :build_all => [:build_empty, :build_blink, :build_uart, :build_dht22]
186186
end

support/rake.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def compile_rust(n, h)
9494
"#{search_paths} #{codegen} " +
9595
"#{outflags} #{ignore_warnings} #{rust_src} #{fail_wrap}"
9696
if File.extname(t.name) == '.o' && !should_fail
97-
sh "#{:strip.in_toolchain} -N rust_stack_exhausted -N rust_begin_unwind " +
97+
sh "#{:strip.in_toolchain} -N rust_stack_exhausted " +
9898
"-N rust_eh_personality #{t.name}"
9999
end
100100
end

0 commit comments

Comments
 (0)