Comments (1)
I've got the same error trying to compile on the latest macOS (ARM):
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/Users/arg/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/Users/arg/.rbenv/shims:/Users/arg/.cargo/bin:/Users/arg/.rbenv/shims:/opt/homebrew/sbin:/opt/homebrew/bin:/Users/arg/.local/bin:/opt/homebrew/opt/fzf/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin" VSLANG="1033" "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--gc-sections" "-m16" "-nostdlib" "-march=i386" "-ffreestanding" "-fno-pie" "-Tcom.ld" "/var/folders/6s/mmf24w6d3vg6132q1kf5j2sr0000gn/T/rustc2CLDNe/symbols.o" "/Users/arg/Development/dosrust/target/dos/release/deps/dos-4bce01320b08944f.dos.b2504f06377c94f-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/Users/arg/Development/dosrust/target/dos/release/deps" "-L" "/Users/arg/Development/dosrust/target/release/deps" "-L" "/Users/arg/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/dos/lib" "-Wl,-Bstatic" "/Users/arg/Development/dosrust/target/dos/release/deps/libstatic_assertions-eefbda7a030c38eb.rlib" "/Users/arg/Development/dosrust/target/dos/release/deps/libbitflags-4359290eb120422f.rlib" "/Users/arg/Development/dosrust/target/dos/release/deps/librustc_std_workspace_core-9be288d33a3daf80.rlib" "/Users/arg/Development/dosrust/target/dos/release/deps/libcore-55990f33432d5897.rlib" "/Users/arg/Development/dosrust/target/dos/release/deps/libcompiler_builtins-5c1c1aefb3d9c6e3.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/Users/arg/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/dos/lib" "-o" "/Users/arg/Development/dosrust/target/dos/release/deps/dos-4bce01320b08944f.com" "-Wl,--gc-sections" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: ld: warning: directory not found for option '-L/Users/arg/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/dos/lib'
ld: warning: directory not found for option '-L/Users/arg/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/dos/lib'
ld: unknown option: --as-needed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from rusty-dos.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rusty-dos.