Skip to content

Commit 0e52c79

Browse files
authored
Merge pull request #38 from SpringMT/fix-asm-support
fix: fix asm support
2 parents 7a4bf10 + 70f53a7 commit 0e52c79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/zstdruby/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$CPPFLAGS += " -fdeclspec" if CONFIG['CXX'] =~ /clang/
55

66
Dir.chdir File.expand_path('..', __FILE__) do
7-
$srcs = Dir['**/*.c']
7+
$srcs = Dir['**/*.c', '**/*.S']
88

99
Dir.glob('libzstd/*') do |path|
1010
if Dir.exist?(path)

spec/zstd-ruby_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
describe 'compress' do
1616
it 'should work' do
17-
compressed = Zstd.compress('abc')
17+
compressed = Zstd.compress('abc' * 10)
1818
expect(compressed).to be_a(String)
19-
expect(compressed).to_not eq('abc')
19+
expect(compressed).to_not eq('abc' * 10)
2020
end
2121

2222
it 'should support compression levels' do

0 commit comments

Comments
 (0)