Skip to content

Commit

Permalink
Add required flag for cross-compilation (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
ball-hayden authored Oct 25, 2023
1 parent 13d7cac commit 01623ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ GEMSPEC = Gem::Specification.load("my_gem.gemspec")

RbSys::ExtensionTask.new("my-crate-name", GEMSPEC) do |ext|
ext.lib_dir = "lib/my_gem"

# If you want to use `rb-sys-dock` for cross-compilation:
ext.cross_compile = true
end
```

Expand Down

0 comments on commit 01623ed

Please sign in to comment.