class Gem::Ext::CargoBuilder::DylibNotFoundError
未创建 cdylib 工件时引发的错误
Public Class Methods
Source
# File lib/rubygems/ext/cargo_builder.rb, line 337 def initialize(dir) files = Dir.glob(File.join(dir, "**", "*")).map {|f| "- #{f}" }.join "\n" super <<~MSG Dynamic library not found for Rust extension (in #{dir}) Make sure you set "crate-type" in Cargo.toml to "cdylib" Found files: #{files} MSG end
调用超类方法
Exception::new