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

Commit 08fa985

Browse files
committed
Merge pull request #192 from bgamari/misc
Various fixes
2 parents 1c90cad + dac60f1 commit 08fa985

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ desc "Build API documentation"
128128
task build_docs: [:build_docs_html]
129129

130130
task build_docs_html: [] do |t|
131-
['src/zinc/lib.rs', 'platformtree/platformtree.rs', 'ioreg/ioreg.rs'].each do |f|
131+
['src/zinc/lib.rs', 'src/platformtree/platformtree.rs', 'src/ioreg/ioreg.rs'].each do |f|
132132
build = Context.instance.build_dir
133133
sh ("rustdoc -w html -o #{build}/doc -L #{build} " \
134134
+ f + ' ' + :config_flags.in_env.join(' '))

support/rake.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def compile_rust(n, h)
7676
flags = :rustcflags.in_env.join(' ')
7777
flags += ' ' + :rustcflags_cross.in_env.join(' ') unless build_for_host
7878
flags += ' --test' if is_test
79+
flags += ' -g' if h[:debug]
7980
flags += ' ' + more_flags
8081

8182
if optimize

0 commit comments

Comments
 (0)