tisonkun commented on code in PR #3057:
URL: 
https://github.com/apache/incubator-opendal/pull/3057#discussion_r1324751513


##########
bindings/java/tools/build.py:
##########
@@ -54,7 +55,11 @@ def get_cargo_artifact_name(classifier: str) -> str:
     parser.add_argument('--classifier', type=str, required=True)
     args = parser.parse_args()
 
-    cmd = ['cargo', 'build', '--color=always', '--release']
+    cmd = ['cargo', 'build', '--color=always']
+
+    # Only enable release build while OPENDAL_RELEASE is on.
+    if os.environ.get('OPENDAL_RELEASE') == 'on':

Review Comment:
   Is this to speed up build on developing?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to