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

[Question] [Homework 2] cargo_asan test fails on apple silicon, but success on gg #900

Closed
seo-rii opened this issue Mar 28, 2024 · 2 comments
Assignees
Labels
question Further information is requested tech-support various issues related to servers, tools, etc

Comments

@seo-rii
Copy link

seo-rii commented Mar 28, 2024

TD;LR: asan check of rust in M1 seems having a malfunction behaviour.

I have tested my code is correct or not in my local laptop(Macbook Air M1), but it has failed on cargo_asan test. However, in my pov, it seems that there should be no error. So I just tried to submit on gg, and interestingly, it passed the test. It seems that cargo_asan test has a bug for Mac platform (might be the problem of LLVM backend of macos)

Test environment: macos sonoma 14.4.1, rustc 1.79.0-nightly, and followed #338 instruction.

@seo-rii seo-rii added the question Further information is requested label Mar 28, 2024
@Lee-Janggun
Copy link
Member

Sanitizers on macOS aren't really that stable, so if you have something that works on the server, which is Linux, but fails on a mac, you can ignore it.

@Lee-Janggun Lee-Janggun added the tech-support various issues related to servers, tools, etc label Mar 29, 2024
@Lee-Janggun
Copy link
Member

BTW, you're issue is probably related to rust-lang/rust#121624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested tech-support various issues related to servers, tools, etc
Projects
None yet
Development

No branches or pull requests

3 participants