Skip to content

Commit

Permalink
Fix mkmf example (#344)
Browse files Browse the repository at this point in the history
Change `rustflags` in the example to `extra_rustflags` to show the
correct name of the parameter.
  • Loading branch information
sliiser authored Apr 2, 2024
1 parent ad4f0e5 commit aa0a3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gem/lib/rb_sys/mkmf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module Mkmf
# r.env = { 'FOO' => 'bar' }
# r.profile = ENV.fetch('RB_SYS_CARGO_PROFILE', :dev).to_sym
# r.features = %w[some_cargo_feature]
# r.rustflags = %w[--cfg=foo]
# r.extra_rustflags = %w[--cfg=foo]
# r.target_dir = "some/target/dir"
# end
def create_rust_makefile(target, &blk)
Expand Down

0 comments on commit aa0a3b2

Please # to comment.