Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized option: 'm' #55

Closed
MarginGitHub opened this issue Mar 9, 2017 · 1 comment
Closed

Unrecognized option: 'm' #55

MarginGitHub opened this issue Mar 9, 2017 · 1 comment

Comments

@MarginGitHub
Copy link

checking for the flags -C opt-level=3 ... ok
rustc -C opt-level=3 -march=armv7-a -llog -mthumb --sysroot=/Users/margin/android/android-ndk-r13b/platforms/android-24/arch-arm -L/Users/margin/android/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static --crate-type=bin -o build/hello src/main.rs
error: /usr/local/Cellar/xmake/2.1.1/share/xmake/core/base/os.lua:562: /usr/local/Cellar/xmake/2.1.1/share/xmake/core/base/os.lua:562: /usr/local/Cellar/xmake/2.1.1/share/xmake/core/base/os.lua:562: error: Unrecognized option: 'm'.


stack traceback:
    [C]: in function 'error'
    [/usr/local/Cellar/xmake/2.1.1/share/xmake/core/base/os.lua:562]: in function 'raise'
    [...llar/xmake/2.1.1/share/xmake/core/sandbox/modules/os.lua:230]: in function 'run'
    [/usr/local/Cellar/xmake/2.1.1/share/xmake/tools/rustc.lua:123]:
    [C]: in function 'build'
    [...xmake/core/sandbox/modules/import/core/tool/compiler.lua:138]: in function 'build'
    [...r/xmake/2.1.1/share/xmake/actions/build/kinds/binary.lua:96]: in function '_build_from_sources'
    [...r/xmake/2.1.1/share/xmake/actions/build/kinds/binary.lua:117]: in function 'build'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:37]: in function 'script'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:55]: in function '_build_target'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:77]: in function '_build_target_and_deps'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:146]: in function 'build'
    [...al/Cellar/xmake/2.1.1/share/xmake/actions/build/main.lua:73]:
    [C]: in function 'xpcall'
    [...lar/xmake/2.1.1/share/xmake/core/sandbox/modules/try.lua:102]: in function 'try'
    [...al/Cellar/xmake/2.1.1/share/xmake/actions/build/main.lua:69]:
    [C]: in function 'load'
    [...cal/Cellar/xmake/2.1.1/share/xmake/core/project/task.lua:421]: in function 'run'
    [/usr/local/Cellar/xmake/2.1.1/share/xmake/core/main.lua:131]:

stack traceback:
    [C]: in function 'error'
    [/usr/local/Cellar/xmake/2.1.1/share/xmake/core/base/os.lua:562]: in function 'raise'
    [...llar/xmake/2.1.1/share/xmake/core/sandbox/modules/os.lua:393]: in function 'raise'
    [...xmake/core/sandbox/modules/import/core/tool/compiler.lua:140]: in function 'build'
    [...r/xmake/2.1.1/share/xmake/actions/build/kinds/binary.lua:96]: in function '_build_from_sources'
    [...r/xmake/2.1.1/share/xmake/actions/build/kinds/binary.lua:117]: in function 'build'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:37]: in function 'script'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:55]: in function '_build_target'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:77]: in function '_build_target_and_deps'
    [...Cellar/xmake/2.1.1/share/xmake/actions/build/builder.lua:146]: in function 'build'
    [...al/Cellar/xmake/2.1.1/share/xmake/actions/build/main.lua:73]:

stack traceback:
    [C]: in function 'error'
    [/usr/local/Cellar/xmake/2.1.1/share/xmake/core/base/os.lua:562]: in function 'raise'
    [...llar/xmake/2.1.1/share/xmake/core/sandbox/modules/os.lua:393]: in function 'raise'
    [...al/Cellar/xmake/2.1.1/share/xmake/actions/build/main.lua:83]: in function 'catch'
    [...lar/xmake/2.1.1/share/xmake/core/sandbox/modules/try.lua:107]: in function 'try'
    [...al/Cellar/xmake/2.1.1/share/xmake/actions/build/main.lua:69]:
    [C]: in function 'load'
    [...cal/Cellar/xmake/2.1.1/share/xmake/core/project/task.lua:421]: in function 'run'
    [/usr/local/Cellar/xmake/2.1.1/share/xmake/core/main.lua:131]:
@waruqi
Copy link
Member

waruqi commented Mar 11, 2017

已修复。

@waruqi waruqi closed this as completed Mar 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants