This commit is contained in:
11
packages/ruby/ext/kreuzberg_rb/native/extconf.rb
generated
Normal file
11
packages/ruby/ext/kreuzberg_rb/native/extconf.rb
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "mkmf"
|
||||
require "rb_sys/mkmf"
|
||||
|
||||
default_profile = ENV.fetch("CARGO_PROFILE", "release")
|
||||
|
||||
create_rust_makefile("kreuzberg_rb") do |config|
|
||||
config.profile = default_profile.to_sym
|
||||
config.ext_dir = "native"
|
||||
end
|
||||
Reference in New Issue
Block a user