Hi!

I was trying to use the logging library within an enclave as described at 
https://github.com/apache/incubator-teaclave-sgx-sdk/tree/master/samplecode/logger#usage
 and came across the `TCSPolicy = 0` requirement.  Everything works great with 
that setting.  The problem is, unfortunately, I have a different library that 
needs `TCSPolicy = 1` (my colleague opened an issue about it some time ago: 
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/240).  So there's a 
conflict.

Now, while I can see why a library won't work if it depends on Thread Local 
Storage (TLS), it's not clear to me why log/env_logger depends on `TCSPolicy = 
1`.  Can you shed some light on why the forked version of log/env_logger crates 
need that?  Is it possible to bypass that requirement somehow?

Thanks in advance

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/271

Reply via email to