- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
Description
Zig Version
0.11.0-dev.1796+c9e02d3e6
Steps to Reproduce and Observed Behavior
Trying to build python libs using zig c++:
/tmp/zig/zig-linux-x86_64-0.11.0-dev.1796+c9e02d3e6/zig` c++ -shared -L/tools/deps/lib -Wl,--exclude-libs,ALL -L/tools/deps/libedit/lib -g0 -isystem /home/joakim/.cache/bazel/_bazel_joakim/1eaa5bd43262acc0a542befd7785511c/external/python39_x86_64-unknown-linux-gnu/include/python3.9 build/temp.linux-x86_64-cpython-39/./python_bindings/bindings.o -L/install/lib -o build/lib.linux-x86_64-cpython-39/hnswlib.cpython-39-x86_64-linux-gnu.so -fopenmp -pthread
error: unsupported linker arg: --exclude-libs
error: command '/tmp/zig/zig-linux-x86_64-0.11.0-dev.1796+c9e02d3e6/zig' failed with exit code 1
Expected Behavior
No error
nikkon-dev, croqaz, permutationlock, eilvelia, gsagula and 9 more
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.