diff --git a/support/rake.rb b/support/rake.rb index cd2e2ecd..43951457 100644 --- a/support/rake.rb +++ b/support/rake.rb @@ -134,7 +134,7 @@ def make_binary(n, h) def rust_tests(n, h) h[:test] = true - h[:flags] = '-g' + h[:flags] = '-g -C relocation-model=static' h[:optimize] = '0' compile_rust n, h run_task = Rake::Task.define_task("run_#{n}".to_sym => h[:produce]) do |t|