Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Environment variable MIRAI_FLAGS or MIRAI_LOG do not work #1209

Closed
gfzum opened this issue Apr 27, 2023 · 2 comments
Closed

Environment variable MIRAI_FLAGS or MIRAI_LOG do not work #1209

gfzum opened this issue Apr 27, 2023 · 2 comments

Comments

@gfzum
Copy link

gfzum commented Apr 27, 2023

Issue

I set environment variables MIRAI_FLAGS=--diag=verify or MIRAI_LOG=debug in the terminal and run cargo mirai under my cargo package, but it didn't work as there was no additonal infomation shown.

Steps to Reproduce

git clone https://github.com/facebookexperimental/MIRAI.git
cd MIRAI
cargo install --locked --path ./checker
  • cd to any Rust package directory
  • do export MIRAI_LOG=debug or MIRAI_LOG=debug , then cargo mirai.
  • do MIRAI_LOG=debug cargo mirai

Expected Behavior

Additional debug information is expected to be shown.

Actual Results

Only basic information:

gfzum@gvm:~/cxsj/case2$ MIRAI_LOG=debug cargo mirai
Finished dev [unoptimized + debuginfo] target(s) in 0.14s

Environment

rustc 1.65.0 (897e37553 2022-11-02)
Ubuntu 22.04.1
bash

@hermanventer
Copy link
Contributor

Before doing cargo mirai, try cargo clean.

@gfzum
Copy link
Author

gfzum commented Apr 28, 2023

It works! thanks : )

@gfzum gfzum closed this as completed Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants