-
-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Description
Is this a feature or a bug? Related issue platformio/platformio-core#4380
I see that SCons sets the final environment at https://github.com/SCons/scons/blob/master/SCons/Builder.py#L620
I agree with this behaviour if we use from SCons import File -> File(...).get_env() == DefaultEnvironment but not when customEnv.File().get_env() != customEnv.
Example
myenv = env.Clone()
node = myenv.File("/tmp/main.cpp")
print("%s=%s -> %s" % (id(env), id(myenv), id(node.get_env())))> 4437414048=4451972960 -> 4437414048
Metadata
Metadata
Assignees
Labels
No labels