Skip to content

Commit

Permalink
Lower declared requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Nov 21, 2024
1 parent deb4125 commit 65de52e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib-injection/requirements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ def requirements
{
'arch' => 'x64',
'supported' => true,
'min' => '2.27',
'min' => '2.17',
'description' => 'libffi needs memfd_create',
},
{
'arch' => 'arm64',
'supported' => true,
'min' => '2.27',
'min' => '2.17',
'description' => 'libffi needs memfd_create',
},
],
Expand Down
4 changes: 2 additions & 2 deletions lib-injection/test_allow.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{"name": "✅ 2.27 glibc x86" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x64" , "libc": "glibc:2.27"}},
{"name": "✅ 2.27 glibc arm64", "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm64", "libc": "glibc:2.27"}},
{"name": "✅ 2.17 glibc x86" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x64" , "libc": "glibc:2.17"}},
{"name": "✅ 2.17 glibc arm64", "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm64", "libc": "glibc:2.17"}},

{"name": "✅ ruby" , "filepath": "/some/path/ruby", "args": ["ruby", "/some/path/to/foo.rb"], "envars": [], "host": {"os": "linux", "arch": "arm64", "libc": "glibc:2.27"}},
{"name": "✅ ruby" , "filepath": "/some/path/ruby", "args": ["ruby", "some/path/to/foo.rb"], "envars": [], "host": {"os": "linux", "arch": "arm64", "libc": "glibc:2.27"}},
Expand Down
8 changes: 4 additions & 4 deletions lib-injection/test_block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
{"name": "❌ musl x64" ,"filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x64" , "libc": "musl:"}},
{"name": "❌ musl arm64" ,"filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm64" , "libc": "musl:"}},

{"name": "❌ 2.27 glibc x86" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x86" , "libc": "glibc:2.27"}},
{"name": "❌ 2.27 glibc arm" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm" , "libc": "glibc:2.27"}},
{"name": "❌ 2.17 glibc x86" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x86" , "libc": "glibc:2.17"}},
{"name": "❌ 2.17 glibc arm" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm" , "libc": "glibc:2.17"}},

{"name": "❌ 2.26 glibc x64" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x64" , "libc": "glibc:2.26"}},
{"name": "❌ 2.26 glibc arm64", "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm64", "libc": "glibc:2.26"}},
{"name": "❌ 2.16 glibc x64" , "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "x64" , "libc": "glibc:2.16"}},
{"name": "❌ 2.16 glibc arm64", "filepath": "/some/path", "args": [], "envars": [], "host": {"os": "linux", "arch": "arm64", "libc": "glibc:2.16"}},

{"name": "❌ gem", "filepath": "/path/to/ruby", "args": ["/path/to/ruby", "/path/to/gem" ], "envars": [], "host": {"os": "linux", "arch": "x64", "libc": "glibc:2.40"}},
{"name": "❌ gem install", "filepath": "/path/to/ruby", "args": ["/path/to/ruby", "/path/to/gem", "install" ], "envars": [], "host": {"os": "linux", "arch": "x64", "libc": "glibc:2.40"}},
Expand Down

0 comments on commit 65de52e

Please sign in to comment.